MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / Stop

Method Stop

rpc/server.go:145–150  ·  view source on GitHub ↗

Stop Server main loop.

()

Source from the content-addressed store, hash-verified

143
144// Stop Server main loop.
145func (s *Server) Stop() {
146 if s.Listener != nil {
147 _ = s.Listener.Close()
148 }
149 s.cancel()
150}

Callers 8

TestMultiChainFunction · 0.95
runNodeFunction · 0.95
TestServer_CloseFunction · 0.95
StopFunction · 0.45
WaitBPChainServiceFunction · 0.45
stopMethod · 0.45
StopServiceFunction · 0.45
setupServersFunction · 0.45

Calls 1

CloseMethod · 0.65

Tested by 4

TestMultiChainFunction · 0.76
TestServer_CloseFunction · 0.76
stopMethod · 0.36
setupServersFunction · 0.36