Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompositeService ¶
type CompositeService struct { AbstractService Services []Service }
CompositeService is a service that contains multiple child services
func (*CompositeService) AddService ¶
func (s *CompositeService) AddService(ss Service)
AddService adds another service as the child service of this one
func (*CompositeService) Init ¶
func (s *CompositeService) Init() error
Init initiates all child services
func (*CompositeService) Start ¶
func (s *CompositeService) Start() error
Start starts all child services
func (*CompositeService) Stop ¶
func (s *CompositeService) Stop() error
Stop stops all child services
Click to show internal directories.
Click to hide internal directories.