From 036df584fbae68e08ac200db18a3f76508893edf Mon Sep 17 00:00:00 2001 From: Hunter Long Date: Wed, 4 Jul 2018 18:14:59 -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 2d2f357..ffa341a 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.