state

package
v0.0.0-...-aa2490a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2025 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL