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

Method Stop

controller/rpc/base.go:44–47  ·  view source on GitHub ↗
(_ context.Context, _ *common.Empty)

Source from the content-addressed store, hash-verified

42}
43
44func (s *Service) Stop(_ context.Context, _ *common.Empty) (*common.Empty, error) {
45 s.Disconnect()
46 return nil, nil
47}
48
49func (s *Service) GetBaseInfo(_ context.Context, _ *common.Empty) (*common.BaseInfoResponse, error) {
50 return s.BaseInfoResponse(), nil

Callers

nothing calls this directly

Implementers 1

Controllercontroller/controller.go

Calls 1

DisconnectMethod · 0.95

Tested by

no test coverage detected