Documentation ¶
Index ¶
- func FindHeader(pd []byte) (n int)
- func NewBroker(opts ...broker.Option) broker.Broker
- func NewCache(timeout time.Duration) *cache
- func WithAuth(username string, password string) broker.Option
- func WithAutoReconnect(enable bool) broker.Option
- func WithCleanSession(enable bool) broker.Option
- func WithClientId(clientId string) broker.Option
- func WithOrderMatters(enable bool) broker.Option
- func WithPublishQos(qos byte) broker.PublishOption
- func WithPublishRetained(qos byte) broker.PublishOption
- func WithResumeSubs(enable bool) broker.Option
- func WithSubscribeQos(qos byte) broker.SubscribeOption
- type AuthRecord
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindHeader ¶
func WithAutoReconnect ¶
WithAutoReconnect enable aut reconnect option
func WithCleanSession ¶
WithCleanSession enable clean session option
func WithClientId ¶
WithClientId set client id option
func WithPublishRetained ¶
func WithPublishRetained(qos byte) broker.PublishOption
WithPublishRetained retained
Types ¶
type AuthRecord ¶
Click to show internal directories.
Click to hide internal directories.