mirror of https://github.com/statping/statping
Updated Statup Plugins (markdown)
parent
8555e875bc
commit
7904bc27fa
|
@ -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!
|
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!
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<img width="95%" src="https://s3-us-west-2.amazonaws.com/gitimgs/statuppluginrun.gif">
|
<img width="95%" src="https://img.cjx.io/statuppluginrun.gif">
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
## Building Plugins
|
## Building Plugins
|
||||||
|
@ -30,7 +30,7 @@ Statup includes a couple tools to help you on your Plugin journey, you can use `
|
||||||
statup test plugins
|
statup test plugins
|
||||||
```
|
```
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<img width="75%" src="https://s3-us-west-2.amazonaws.com/gitimgs/statupplugintester.gif">
|
<img width="75%" src="https://img.cjx.io/statupplugintester.gif">
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
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.
|
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.
|
||||||
|
|
Loading…
Reference in New Issue