Documentation ¶
Index ¶
- type Service
- func (service *Service) Join() error
- func (service *Service) Leave() error
- func (service *Service) ServiceName() string
- func (service *Service) ServiceType() plugins.ServiceType
- func (service *Service) SetConfig(c config.Config)
- func (service *Service) SetCoordinator(coord coordinator_plugin.Service)
- func (service *Service) SetStatus(status cluster.NodeStatus) error
- func (service *Service) Start() error
- func (service *Service) Status() cluster.NodeStatus
- func (service *Service) Stop() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
Service represents a actor service.
func (*Service) ServiceName ¶
ServiceName returns the plug-in service name.
func (*Service) ServiceType ¶
func (service *Service) ServiceType() plugins.ServiceType
ServiceType returns the plug-in service type.
func (*Service) SetCoordinator ¶
func (service *Service) SetCoordinator(coord coordinator_plugin.Service)
SetCoordinator sets a coordinator service.
func (*Service) SetStatus ¶
func (service *Service) SetStatus(status cluster.NodeStatus) error
SetStatus sets a actor status.
func (*Service) Status ¶
func (service *Service) Status() cluster.NodeStatus
Status returns a actor status.
Click to show internal directories.
Click to hide internal directories.