Versions in this module Expand all Collapse all v0 v0.5.1 Sep 2, 2021 Changes in this version type Config + Logging bool v0.5.0 Aug 31, 2021 Changes in this version + const OnlyOnce + const Overlap + var DefaultListeners = []*ListenerConfig + var DefaultMQTTConfig = MQTT + var DefaultPersistenceConfig = Persistence + var DefaultTopicAliasManager = TopicAliasManager + func RegisterDefaultPluginConfig(name string, config Configuration) + type Config struct + ConfigDir string + DumpPacket bool + Listeners []*ListenerConfig + MQTT MQTT + Persistence Persistence + TopicAliasManager TopicAliasManager + func DefaultConfig() Config + func (c Config) Validate() (err error) + type Configuration interface + Validate func() error + type ListenerConfig struct + Address string + type MQTT struct + AllowZeroLenClientID bool + DeliveryMode string + InflightExpiry time.Duration + MaxInflight uint16 + MaxKeepAlive uint16 + MaxPacketSize uint32 + MaxQueuedMsg int + MaximumQoS uint8 + MessageExpiry time.Duration + QueueQos0Msg bool + ReceiveMax uint16 + RetainAvailable bool + SessionExpiry time.Duration + SessionExpiryCheckInterval time.Duration + SharedSubAvailable bool + SubscriptionIDAvailable bool + TopicAliasMax uint16 + WildcardAvailable bool + func (c MQTT) Validate() error + type Persistence struct + Type PersistenceType + func (p *Persistence) Validate() error + type PersistenceType = string + const PersistenceTypeMemory + type TLSOptions struct + CACert string + Cert string + Key string + Verify bool + type TopicAliasManager struct + Type TopicAliasType + type TopicAliasType = string + const TopicAliasMgrTypeFIFO