Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/djherbis/socket
/ handler
Struct
handler
handler.go:23–26 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
21
}
22
23
type
handler
struct
{
24
mu sync.RWMutex
25
events
map
[string]PacketHandler
26
}
27
28
func
newHandler() Handler {
29
return
&handler{
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected