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.