Documentation ¶ Index ¶ func Add(service Service) func Closed() func ShutdownAll() func StartAll() type Service Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Add ¶ func Add(service Service) Add a service to the pool of services func Closed ¶ func Closed() Closed called by a service once done func ShutdownAll ¶ func ShutdownAll() ShutdownAll the services in the pool func StartAll ¶ func StartAll() StartAll the services in the pool Types ¶ type Service ¶ type Service interface { //Start the service Start() //Shutdown the service Shutdown() //Init anything that needs to be created before start is called Init() //Register all the broadcast this must be called before init Register() } Service interface used to represent a service Source Files ¶ View all Source files service.go Directories ¶ Show internal Expand all Path Synopsis docker http mgmt mgmt/api mgmt/middleware reverseproxy metrics sessionmanager Click to show internal directories. Click to hide internal directories.