Documentation ¶
Index ¶
- func Shutdown() error
- func Startup() error
- func Table() *table.Table
- type Gateway
- type Hook
- func (h *Hook) ID() string
- func (h *Hook) OnACLCheck(cl *mqtt.Client, topic string, write bool) bool
- func (h *Hook) OnConnectAuthenticate(cl *mqtt.Client, pk packets.Packet) bool
- func (h *Hook) OnDisconnect(cl *mqtt.Client, err error, expire bool)
- func (h *Hook) OnPublish(cl *mqtt.Client, pk packets.Packet) (packets.Packet, error)
- func (h *Hook) Provides(b byte) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Hook ¶
type Hook struct {
mqtt.HookBase
}
func (*Hook) OnConnectAuthenticate ¶
func (*Hook) OnDisconnect ¶
Click to show internal directories.
Click to hide internal directories.