MCPcopy Index your code
hub / github.com/PasarGuard/node / Stop

Method Stop

controller/rest/base.go:44–48  ·  view source on GitHub ↗
(w http.ResponseWriter, _ *http.Request)

Source from the content-addressed store, hash-verified

42}
43
44func (s *Service) Stop(w http.ResponseWriter, _ *http.Request) {
45 s.Disconnect()
46
47 common.SendProtoResponse(w, &common.Empty{})
48}

Callers

nothing calls this directly

Implementers 1

Controllercontroller/controller.go

Calls 2

DisconnectMethod · 0.95
SendProtoResponseFunction · 0.92

Tested by

no test coverage detected