Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultKeepAlive = 300 // DefaultKeepAlive default keep DefaultConnectTimeout = 2 // DefaultConnectTimeout connect timeout DefaultAckTimeout = 20 // DefaultAckTimeout ack timeout DefaultTimeoutRetries = 3 // DefaultTimeoutRetries retries MinKeepAlive = 30 DefaultSessionsProvider = "mem" // DefaultSessionsProvider default session provider DefaultAuthenticator = "mockSuccess" // DefaultAuthenticator default auth provider DefaultTopicsProvider = "mem" // DefaultTopicsProvider default topics provider )
Default configs
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogInterface ¶
LogInterface inherited by internal packages to provide hierarchical logs
type RetainObject ¶
type RetainObject interface {
Topic() string
}
RetainObject general interface of the retain as not only publish message can be retained
type TopicMessenger ¶
type TopicMessenger interface { Publish(interface{}) error Retain(RetainObject) error }
TopicMessenger interface for session or systree used to publish or retain messages
Click to show internal directories.
Click to hide internal directories.