summaryrefslogtreecommitdiff
path: root/plugins/status/interface.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-02-23 19:11:52 +0300
committerGitHub <[email protected]>2021-02-23 19:11:52 +0300
commit18a097292a567fccdd02304ff236bf78d769965d (patch)
tree2fb7cb0833a85397936f6bbad6d1bad33cde3602 /plugins/status/interface.go
parent123c5e96132cdc8f78f26c2f31e52b6a7ddc2e91 (diff)
parentfdbf6a61600745b5cb1022117dcd9b06d392dc84 (diff)
Merge pull request #559 from spiral/log_does_not_show_any_message
fix(various): Small fixes before release
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
+}