MCPcopy
hub / github.com/etcd-io/etcd / Close

Method Close

pkg/proxy/server.go:60–60  ·  view source on GitHub ↗

Close closes listener and transport.

()

Source from the content-addressed store, hash-verified

58 Error() <-chan error
59 // Close closes listener and transport.
60 Close() error
61
62 // PauseAccept stops accepting new connections.
63 PauseAccept()

Callers 15

TestNewTimeoutTransportFunction · 0.95
TestPutAndGetKeyValueFunction · 0.95
testServerFunction · 0.95
testServerDelayAcceptFunction · 0.95
TestServer_PauseTxFunction · 0.95
TestServer_BlackholeTxFunction · 0.95
TestServer_ShutdownFunction · 0.95
testServerHTTPFunction · 0.95

Calls

no outgoing calls

Tested by 15

TestNewTimeoutTransportFunction · 0.76
TestPutAndGetKeyValueFunction · 0.76
testServerFunction · 0.76
testServerDelayAcceptFunction · 0.76
TestServer_PauseTxFunction · 0.76
TestServer_BlackholeTxFunction · 0.76
TestServer_ShutdownFunction · 0.76
testServerHTTPFunction · 0.76