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

Method GetBackendStats

controller/rpc/stats.go:36–38  ·  view source on GitHub ↗
(ctx context.Context, _ *common.Empty)

Source from the content-addressed store, hash-verified

34}
35
36func (s *Service) GetBackendStats(ctx context.Context, _ *common.Empty) (*common.BackendStatsResponse, error) {
37 return s.Backend().GetSysStats(ctx)
38}
39
40func (s *Service) GetOutboundsLatency(ctx context.Context, request *common.LatencyRequest) (*common.LatencyResponse, error) {
41 return s.OutboundsLatency(ctx, request)

Callers

nothing calls this directly

Implementers 1

Controllercontroller/controller.go

Calls 2

BackendMethod · 0.80
GetSysStatsMethod · 0.65

Tested by

no test coverage detected