MCPcopy
hub / github.com/txthinking/brook / Close

Method Close

packetconn.go:119–127  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

117}
118
119func (c *PacketConn) Close() error {
120 select {
121 case <-c.Done:
122 default:
123 c.Clean()
124 close(c.Done)
125 }
126 return nil
127}
128
129func (c *PacketConn) LocalAddr() net.Addr {
130 panic("no")

Callers

nothing calls this directly

Calls 1

CleanMethod · 0.65

Tested by

no test coverage detected