MCPcopy Index your code
hub / github.com/foxcpp/maddy / Run

Method Run

framework/dns/dnssec_test.go:49–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47}
48
49func (s *IPAddrTestServer) Run() {
50 pconn, err := net.ListenPacket("udp4", "127.0.0.1:0")
51 if err != nil {
52 panic(err)
53 }
54 s.udpServ.PacketConn = pconn
55 s.udpServ.Handler = s
56 go s.udpServ.ActivateAndServe() //nolint:errcheck
57}
58
59func (s *IPAddrTestServer) Close() error {
60 return s.udpServ.PacketConn.Close()

Callers 3

TestReadFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected