Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
44
func
(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
Controller
controller/controller.go
Calls
2
Disconnect
Method · 0.95
SendProtoResponse
Function · 0.92
Tested by
no test coverage detected