diff options
author | Valery Piashchynski <[email protected]> | 2020-12-03 13:08:38 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-12-03 13:08:38 +0300 |
commit | 31e4bb7b236fe0ae59fd42d66af0d718b67a2a4b (patch) | |
tree | cd51f81b20dc32666165ff85d8b8bdad0e6c464c /interfaces/status | |
parent | bdabf97a6463c0e3897063235f3d556d4f75c4bd (diff) |
Initial commit of checker plugin
Diffstat (limited to 'interfaces/status')
-rw-r--r-- | interfaces/status/interface.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/interfaces/status/interface.go b/interfaces/status/interface.go new file mode 100644 index 00000000..0a92bc52 --- /dev/null +++ b/interfaces/status/interface.go @@ -0,0 +1,11 @@ +package status + +// 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 +} |