Documentation
¶
Index ¶
Constants ¶
View Source
const ( CommandQueue = "/status/command" EventQueue = "/status" UPDATESERVICESTATUS = "updateservicestatus" UPDATESERVICEITEMSTATUS = "updateserviceitemstatus" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StateClient ¶
type StateClient struct {
Bus messagebus.Messagebus
}
func (*StateClient) SendCommand ¶
func (s *StateClient) SendCommand(command Command) error
func (*StateClient) SendCommandString ¶
func (s *StateClient) SendCommandString(command string)
func (*StateClient) UpdateServiceItemStatus ¶
func (s *StateClient) UpdateServiceItemStatus(si auth.ServiceItem) error
func (*StateClient) UpdateServiceStatus ¶
func (s *StateClient) UpdateServiceStatus(service auth.Service) error
type StateService ¶
type StateService struct {
Bus messagebus.Messagebus
}
func (*StateService) ReceiveCommand ¶
func (s *StateService) ReceiveCommand(commands chan<- *Command) error
Click to show internal directories.
Click to hide internal directories.