summaryrefslogtreecommitdiff
path: root/plugins/status/interface.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/status/interface.go')
-rw-r--r--plugins/status/interface.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/status/interface.go b/plugins/status/interface.go
new file mode 100644
index 00000000..0a92bc52
--- /dev/null
+++ b/plugins/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
+}