MCPcopy 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
59func (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

ListenMethod · 0.95

Calls 1

WriteMethod · 0.45

Tested by

no test coverage detected