diff options
author | Wolfy-J <[email protected]> | 2018-06-10 16:44:41 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-10 16:44:41 +0300 |
commit | 4c292ee46f5505b00b16186e8f30e9bc1be25895 (patch) | |
tree | 818dffc7ce5e890875b147b97e298d4c7c48cbd9 /service/container.go | |
parent | a62237fa5afc310453e709837e363f0bb4d7ecf3 (diff) |
fs config
Diffstat (limited to 'service/container.go')
-rw-r--r-- | service/container.go | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/service/container.go b/service/container.go index bf712092..3395cd86 100644 --- a/service/container.go +++ b/service/container.go @@ -39,19 +39,6 @@ type Container interface { Stop() } -// svc provides high level functionality for road runner svc. -type Service interface { - // Configure must return configure service and return true if service hasStatus enabled. Must return error in case of - // misconfiguration. Services must not be used without proper configuration pushed first. - Configure(cfg Config, c Container) (enabled bool, err error) - - // Serve serves svc. - Serve() error - - // Close setStopped svc svc. - Stop() -} - type container struct { log logrus.FieldLogger mu sync.Mutex |