diff options
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 |