Documentation
¶
Index ¶
- type StatePublisher
- func (s *StatePublisher) AddSubscriber() (<-chan interface{}, chan<- struct{})
- func (s *StatePublisher) NotifyConfigChanged(e *config.Config) error
- func (s *StatePublisher) NotifyConnect(e events.DataConnect) error
- func (s *StatePublisher) NotifyDisconnect(e events.DataDisconnect) error
- func (s *StatePublisher) NotifyLogin(e events.DataAuthorization) error
- func (s *StatePublisher) NotifyLogout(e events.DataAuthorization) error
- func (s *StatePublisher) NotifyMFA(bool) error
- func (s *StatePublisher) NotifyServersListUpdate(any) error
- func (s *StatePublisher) NotifySubscriptionChanged(e *pb.AccountModification) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StatePublisher ¶
type StatePublisher struct {
// contains filtered or unexported fields
}
func NewState ¶
func NewState() *StatePublisher
func (*StatePublisher) AddSubscriber ¶
func (s *StatePublisher) AddSubscriber() (<-chan interface{}, chan<- struct{})
func (*StatePublisher) NotifyConfigChanged ¶
func (s *StatePublisher) NotifyConfigChanged(e *config.Config) error
func (*StatePublisher) NotifyConnect ¶
func (s *StatePublisher) NotifyConnect(e events.DataConnect) error
func (*StatePublisher) NotifyDisconnect ¶
func (s *StatePublisher) NotifyDisconnect(e events.DataDisconnect) error
func (*StatePublisher) NotifyLogin ¶
func (s *StatePublisher) NotifyLogin(e events.DataAuthorization) error
func (*StatePublisher) NotifyLogout ¶
func (s *StatePublisher) NotifyLogout(e events.DataAuthorization) error
func (*StatePublisher) NotifyMFA ¶
func (s *StatePublisher) NotifyMFA(bool) error
func (*StatePublisher) NotifyServersListUpdate ¶
func (s *StatePublisher) NotifyServersListUpdate(any) error
func (*StatePublisher) NotifySubscriptionChanged ¶
func (s *StatePublisher) NotifySubscriptionChanged(e *pb.AccountModification) error
Click to show internal directories.
Click to hide internal directories.