Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddDependingService ¶
type AddDependingService interface { DependingService SetAdditionalDependencies(map[string]Service) UnsetAdditionalDependencies([]string) }
type DependingService ¶
type DependingService interface { Service Dependencies() ServiceDependencies }
type EmergencyStoppableService ¶
type EmergencyStoppableService interface { Service EmergencyStop() }
type LoggerFunc ¶
type LoggerFunc func(...interface{})
type ManagingService ¶
type ManagingService interface {
SetServiceManager(ServiceManager)
}
type Service ¶
type Service interface { Init(map[string]Service, LoggerFunc, ErrorFunc) Name() string Stop() }
type ServiceDependencies ¶
type ServiceDependencies struct {
Deps, ADeps []string
}
type ServiceManager ¶
type ServiceManager interface { GetServiceList() []string GetServiceInfo(string) (exposedstructs.ServiceInfo, error) GetServicesInfo() map[string]exposedstructs.ServiceInfo }
Click to show internal directories.
Click to hide internal directories.