MCPcopy
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
37func (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
46func (s *Server) Start() error {
47 ln, err := listen(s.Addr)

Callers 12

handleMethod · 0.95
ReadLogFunction · 0.80
gatewayDNSCommonFunction · 0.80
osNameFunction · 0.80
excludeLineFunction · 0.80
readPostConfFunction · 0.80
BroadcastMethod · 0.80
SendContextMethod · 0.80
EncodeReparsePointFunction · 0.80
EncodeExtendedAttributesFunction · 0.80
adjustPrivilegesFunction · 0.80

Calls

no outgoing calls

Tested by 1