MCPcopy
hub / github.com/CodisLabs/codis / Close

Method Close

pkg/topom/topom_stats_test.go:147–152  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

145}
146
147func (s *fakeServer) Close() error {
148 for e := s.List.Front(); e != nil; e = e.Next() {
149 e.Value.(net.Conn).Close()
150 }
151 return s.Listener.Close()
152}
153
154func (s *fakeServer) Serve(c net.Conn) {
155 defer c.Close()

Callers

nothing calls this directly

Calls 2

NextMethod · 0.80
CloseMethod · 0.65

Tested by

no test coverage detected