Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/nats-io/nats.go
/ writeCloseMsg
Method
writeCloseMsg
ws.go:542–546 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
540
}
541
542
func
(w *websocketWriter) writeCloseMsg() (int, error) {
543
n, err := w.w.Write(w.cm)
544
w.cm, w.noMoreSend = nil, true
545
return
n, err
546
}
547
548
func
wsMaskBuf(key, buf []byte) {
549
for
i := 0; i < len(buf); i++ {
Callers
1
Write
Method · 0.95
Calls
1
Write
Method · 0.45
Tested by
no test coverage detected