diff options
Diffstat (limited to 'plugins/checker/interface.go')
-rw-r--r-- | plugins/checker/interface.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/checker/interface.go b/plugins/checker/interface.go new file mode 100644 index 00000000..dd9dcada --- /dev/null +++ b/plugins/checker/interface.go @@ -0,0 +1,11 @@ +package checker + +// Status consists of status code from the service +type Status struct { + Code int +} + +// Checker interface used to get latest status from plugin +type Checker interface { + Status() Status +} |