Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/mochi-mqtt/server
/ Provides
Method
Provides
hooks.go:75–75 ·
view source on GitHub ↗
(b byte)
Source
from the content-addressed store, hash-verified
73
type
Hook
interface
{
74
ID() string
75
Provides(b byte) bool
76
Init(config any) error
77
Stop() error
78
SetOpts(l *slog.Logger, o *HookOptions)
Callers
15
TestHooksProvides
Function · 0.65
TestHookBaseProvidesNone
Function · 0.65
Serve
Method · 0.65
readStore
Method · 0.65
Provides
Method · 0.65
OnSysInfoTick
Method · 0.65
OnStarted
Method · 0.65
OnStopped
Method · 0.65
OnConnect
Method · 0.65
OnSessionEstablish
Method · 0.65
OnSessionEstablished
Method · 0.65
OnDisconnect
Method · 0.65
Implementers
1
HookBase
hooks.go
Calls
no outgoing calls
Tested by
8
TestHooksProvides
Function · 0.52
TestHookBaseProvidesNone
Function · 0.52
TestAllowAllProvides
Function · 0.52
TestBasicProvides
Function · 0.52
TestProvides
Function · 0.52
TestProvides
Function · 0.52
TestProvides
Function · 0.52
TestProvides
Function · 0.52