Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/nats-io/nats.go
/ readProto
Method
readProto
nats.go:3099–3101 ·
view source on GitHub ↗
reads a protocol line.
()
Source
from the content-addressed store, hash-verified
3097
3098
// reads a protocol line.
3099
func
(nc *Conn) readProto() (string, error) {
3100
return
nc.br.ReadString(
'\n'
)
3101
}
3102
3103
// A control protocol line.
3104
type
control
struct
{
Callers
2
sendConnect
Method · 0.95
readOp
Method · 0.95
Calls
1
ReadString
Method · 0.80
Tested by
no test coverage detected