summaryrefslogtreecommitdiff
path: root/plugins/checker/interface.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-02-23 19:00:44 +0300
committerValery Piashchynski <[email protected]>2021-02-23 19:00:44 +0300
commitfdbf6a61600745b5cb1022117dcd9b06d392dc84 (patch)
treec6b7711f4dfa9873415ff0525887917cc521fd7e /plugins/checker/interface.go
parent7dc61c309a34d21630bc1ad53c53211b3dc985de (diff)
- Remove unneeded mutex from the `http.Workers` method.
- Rename `checker` plugin package to `status`, remove `/v1` endpoint prefix (#557) - Add static, headers, status, gzip plugins to the `main.go`. Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins/checker/interface.go')
-rw-r--r--plugins/checker/interface.go11
1 files changed, 0 insertions, 11 deletions
diff --git a/plugins/checker/interface.go b/plugins/checker/interface.go
deleted file mode 100644
index dd9dcada..00000000
--- a/plugins/checker/interface.go
+++ /dev/null
@@ -1,11 +0,0 @@
-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
-}