Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/mochi-mqtt/server
/ SetOpts
Method
SetOpts
hooks.go:78–78 ·
view source on GitHub ↗
(l *slog.Logger, o *HookOptions)
Source
from the content-addressed store, hash-verified
76
Init(config any) error
77
Stop() error
78
SetOpts(l *slog.Logger, o *HookOptions)
79
80
OnStarted()
81
OnStopped()
Callers
15
TestHookBaseSetOpts
Function · 0.65
AddHook
Method · 0.65
TestBasicInitBadConfig
Function · 0.65
TestBasicInitDefaultConfig
Function · 0.65
TestBasicInitWithLedgerPointer
Function · 0.65
TestBasicInitWithLedgerJSON
Function · 0.65
TestBasicInitWithLedgerYAML
Function · 0.65
TestBasicInitWithLedgerBadDAta
Function · 0.65
TestOnConnectAuthenticate
Function · 0.65
TestOnACL
Function · 0.65
TestSetGetDelKv
Function · 0.65
TestInitBadConfig
Function · 0.65
Implementers
1
HookBase
hooks.go
Calls
no outgoing calls
Tested by
15
TestHookBaseSetOpts
Function · 0.52
TestBasicInitBadConfig
Function · 0.52
TestBasicInitDefaultConfig
Function · 0.52
TestBasicInitWithLedgerPointer
Function · 0.52
TestBasicInitWithLedgerJSON
Function · 0.52
TestBasicInitWithLedgerYAML
Function · 0.52
TestBasicInitWithLedgerBadDAta
Function · 0.52
TestOnConnectAuthenticate
Function · 0.52
TestOnACL
Function · 0.52
TestSetGetDelKv
Function · 0.52
TestInitBadConfig
Function · 0.52
TestInitBadOption
Function · 0.52