From 7904bc27fa8d321593ca016683a8d3fecc690348 Mon Sep 17 00:00:00 2001 From: Hunter Long Date: Wed, 4 Jul 2018 19:26:31 -0700 Subject: [PATCH] Updated Statup Plugins (markdown) --- Statup-Plugins.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Statup-Plugins.md b/Statup-Plugins.md index ffa341a..5cc6ad0 100644 --- a/Statup-Plugins.md +++ b/Statup-Plugins.md @@ -7,7 +7,7 @@ go get github.com/hunterlong/statup/plugin Start off with the [Example Statup Plugin](https://github.com/hunterlong/statup_plugin) that includes all the interfaces and some custom options for you to expand on. You can include any type of function in your own plugin!

- +

## Building Plugins @@ -30,7 +30,7 @@ Statup includes a couple tools to help you on your Plugin journey, you can use ` statup test plugins ```

- +

Your plugin should be able to parse and receive events before distributing it. The test tools creates a temporary database (SQLite) that your plugin can interact with. Statup uses [upper.io/db.v3](https://upper.io/db.v3) for database interactions. The database is passed to your plugin `OnLoad(db sqlbuilder.Database)`, so you can use the `db` variable passed here.