Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/nextdns/nextdns
/ Bytes
Method
Bytes
ctl/server.go:37–44 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
35
}
36
37
func
(e Event) Bytes() []byte {
38
b, err := json.Marshal(e)
39
if
err != nil {
40
return
nil
41
}
42
b = append(b,
'\n'
)
43
return
b
44
}
45
46
func
(s *Server) Start() error {
47
ln, err := listen(s.Addr)
Callers
12
handle
Method · 0.95
TestClientSendContext_RoundTrip
Function · 0.95
ReadLog
Function · 0.80
gatewayDNSCommon
Function · 0.80
osName
Function · 0.80
excludeLine
Function · 0.80
readPostConf
Function · 0.80
Broadcast
Method · 0.80
SendContext
Method · 0.80
EncodeReparsePoint
Function · 0.80
EncodeExtendedAttributes
Function · 0.80
adjustPrivileges
Function · 0.80
Calls
no outgoing calls
Tested by
1
TestClientSendContext_RoundTrip
Function · 0.76