MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / CloseServer

Function CloseServer

pkg/api/server_windows.go:63–68  ·  view source on GitHub ↗

CloseServer shutdowns the server by stopping the listener.

()

Source from the content-addressed store, hash-verified

61
62// CloseServer shutdowns the server by stopping the listener.
63func CloseServer() error {
64 if listener != nil {
65 return listener.Close()
66 }
67 return nil
68}

Callers 1

ShutdownMethod · 0.92

Calls 1

CloseMethod · 0.65

Tested by

no test coverage detected