Versions in this module Expand all Collapse all v0 v0.5.0 May 13, 2023 v0.4.0 Apr 15, 2023 v0.3.0 Apr 11, 2023 v0.2.0 Dec 29, 2022 v0.1.1 Nov 6, 2022 v0.1.0 Nov 1, 2022 v0.0.2 Aug 23, 2022 v0.0.1 Jun 7, 2020 Changes in this version + const AuthAccepted + const AuthUnauthorized + type PublishCallbackFunc func(*PublishRequest, *PublishResponse) + type PublishID interface + type PublishRequest struct + Dup bool + Message []byte + MessageID uint16 + Qos byte + Retain bool + TopicName string + type PublishResponse struct + Error error + ID PublishID + type Publisher interface + Close func() error + Name func() string + Publish func(context.Context, *PublishRequest) (*PublishResponse, error) + PublishAsync func(context.Context, *PublishRequest, PublishCallbackFunc) error + Serve func() error + Shutdown func(err error) + type PublisherFactory interface + New func(params []string) (Publisher, error) + type UserPasswordAuthRequest struct + Password string + Username string + type UserPasswordAuthResponse struct + ReturnCode byte + type UserPasswordAuthenticator interface + Close func() error + Login func(context.Context, *UserPasswordAuthRequest) (*UserPasswordAuthResponse, error) + Name func() string + type UserPasswordAuthenticatorFactory interface + New func(params []string) (UserPasswordAuthenticator, error)