mirror of https://github.com/statping/statping
Updated Statup Plugins (markdown)
parent
cd20fae309
commit
bed95470c0
|
@ -1,5 +1,11 @@
|
||||||
Since Statup is built in Go Language we can use the go plugin feature to create dynamic plugins that run on load. Statup has an event anytime anything happens, you can create your own plugins and do any type of function.
|
Since Statup is built in Go Language we can use the go plugin feature to create dynamic plugins that run on load. Statup has an event anytime anything happens, you can create your own plugins and do any type of function.
|
||||||
|
|
||||||
|
## Statup Plugin Package
|
||||||
|
To implement your own ideas into Statup, either do a git push request or use it has a plugin using the [statup/plugin](https://github.com/hunterlong/statup/blob/master/plugin/main.go) package.
|
||||||
|
```
|
||||||
|
go get github.com/hunterlong/statup/plugin
|
||||||
|
```
|
||||||
|
|
||||||
## Plugin Interface
|
## Plugin Interface
|
||||||
```go
|
```go
|
||||||
type PluginActions interface {
|
type PluginActions interface {
|
||||||
|
|
Loading…
Reference in New Issue