MCPcopy Create free account
hub / github.com/PasarGuard/node / GetSysStats

Method GetSysStats

backend/xray/stats.go:10–12  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

8)
9
10func (x *Xray) GetSysStats(ctx context.Context) (*common.BackendStatsResponse, error) {
11 return x.handler.GetSysStats(ctx)
12}
13
14func (x *Xray) GetUserOnlineStats(ctx context.Context, email string) (*common.OnlineStatResponse, error) {
15 return x.handler.GetUserOnlineStats(ctx, email)

Callers 2

checkXrayStatusMethod · 0.95
checkXrayHealthMethod · 0.95

Calls 1

GetSysStatsMethod · 0.65

Tested by

no test coverage detected