Documentation
¶
Index ¶
- type Config
- type Manager
- func (m *Manager) GetSubscriber(id string) (vlsubscriber.IFace, error)
- func (m *Manager) LoadSession(context interface{}, id []byte, state *persistence.SessionState) error
- func (m *Manager) OnConnection(conn transport.Conn, authMngr *auth.Manager) (err error)
- func (m *Manager) Shutdown() error
- func (m *Manager) Stop() error
- type StartConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
configuration.MqttConfig
TopicsMgr topicsTypes.Provider
Persist persistence.IFace
Systree systree.Provider
OnReplaceAttempt func(string, bool)
NodeName string
}
Config manager configuration
type Manager ¶
type Manager struct {
Config
// contains filtered or unexported fields
}
Manager clients manager
func NewManager ¶
NewManager create new clients manager
func (*Manager) GetSubscriber ¶ added in v0.1.0
GetSubscriber ...
func (*Manager) LoadSession ¶ added in v0.0.4
func (m *Manager) LoadSession(context interface{}, id []byte, state *persistence.SessionState) error
LoadSession load persisted session. Invoked by persistence provider
func (*Manager) OnConnection ¶ added in v0.0.4
OnConnection implements transport.Handler interface and handles incoming connection
Click to show internal directories.
Click to hide internal directories.