Versions in this module Expand all Collapse all v3 v3.6.4 Jul 19, 2024 Changes in this version + const NoSync + const Sync + type Hook struct + func (h *Hook) Debugf(m string, v ...any) + func (h *Hook) Errorf(m string, v ...any) + func (h *Hook) ID() string + func (h *Hook) Infof(m string, v ...any) + func (h *Hook) Init(config any) error + func (h *Hook) OnClientExpired(cl *mqtt.Client) + func (h *Hook) OnDisconnect(cl *mqtt.Client, _ error, expire bool) + func (h *Hook) OnQosComplete(cl *mqtt.Client, pk packets.Packet) + func (h *Hook) OnQosDropped(cl *mqtt.Client, pk packets.Packet) + func (h *Hook) OnQosPublish(cl *mqtt.Client, pk packets.Packet, sent int64, resends int) + func (h *Hook) OnRetainMessage(cl *mqtt.Client, pk packets.Packet, r int64) + func (h *Hook) OnRetainedExpired(filter string) + func (h *Hook) OnSessionEstablished(cl *mqtt.Client, pk packets.Packet) + func (h *Hook) OnSubscribed(cl *mqtt.Client, pk packets.Packet, reasonCodes []byte) + func (h *Hook) OnSysInfoTick(sys *system.Info) + func (h *Hook) OnUnsubscribed(cl *mqtt.Client, pk packets.Packet) + func (h *Hook) OnWillSent(cl *mqtt.Client, pk packets.Packet) + func (h *Hook) Provides(b byte) bool + func (h *Hook) Stop() error + func (h *Hook) StoredClients() (v []storage.Client, err error) + func (h *Hook) StoredInflightMessages() (v []storage.Message, err error) + func (h *Hook) StoredRetainedMessages() (v []storage.Message, err error) + func (h *Hook) StoredSubscriptions() (v []storage.Subscription, err error) + func (h *Hook) StoredSysInfo() (v storage.SystemInfo, err error) + func (h *Hook) Warningf(m string, v ...any) + type Options struct + Mode string + Options *pebbledb.Options + Path string