Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AdRoll/baker
/ sendAll
Method
sendAll
output/websocket/server.go:59–63 ·
view source on GitHub ↗
(msg []string)
Source
from the content-addressed store, hash-verified
57
}
58
59
func
(s *Server) sendAll(msg []string) {
60
for
_, c :=
range
s.clients {
61
c.Write(msg)
62
}
63
}
64
65
// Listen and serve.
66
// It serves client connection and broadcast request.
Callers
1
Listen
Method · 0.95
Calls
1
Write
Method · 0.45
Tested by
no test coverage detected