Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface {
Run() error
}
Service is implemeted by services that are started with starting agent tcp server
type ServiceManager ¶
type ServiceManager struct {
// contains filtered or unexported fields
}
func (*ServiceManager) AddService ¶
func (s *ServiceManager) AddService(name string, service Service)
AddService adds new service to the manager
func (*ServiceManager) RunServices ¶
func (s *ServiceManager) RunServices()
RunServices runs all registered services
Click to show internal directories.
Click to hide internal directories.