Versions in this module Expand all Collapse all v3 v3.0.1 Jan 16, 2020 Changes in this version + type Config struct + CaPath string + CertPath string + ClientID string + KeyPath string + URL string + type MockProtocol struct + func (s MockProtocol) Name() string + func (s MockProtocol) NewClientOptions(opt *Config) (*mqtt.ClientOptions, error) + type Mqtts struct + func (s Mqtts) Name() string + func (s Mqtts) NewClientOptions(opt *Config) (*mqtt.ClientOptions, error) + type Protocol interface + Name func() string + NewClientOptions func(opt *Config) (*mqtt.ClientOptions, error) + func ByURL(u string) (Protocol, error) + type Wss struct + func (s Wss) Name() string + func (s Wss) NewClientOptions(opt *Config) (*mqtt.ClientOptions, error)