Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PasarGuard/node
/ GetValue
Method
GetValue
common/service.pb.go:408–413 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
406
}
407
408
func
(x *Stat) GetValue() int64 {
409
if
x != nil {
410
return
x.Value
411
}
412
return
0
413
}
414
415
type
StatResponse
struct
{
416
state protoimpl.MessageState `protogen:
"open.v1"
`
Callers
10
TestREST_GetOutboundsStats
Function · 0.45
TestREST_GetInboundsStats
Function · 0.45
TestREST_GetUsersStats
Function · 0.45
userTrafficTotal
Function · 0.45
userOnline
Function · 0.45
statValueByType
Function · 0.45
TestXrayBackend
Function · 0.45
TestBuildStatResponseSkipsMalformedAndMapsFields
Function · 0.45
GetUserOnlineStats
Method · 0.45
buildStatResponse
Function · 0.45
Calls
no outgoing calls
Tested by
8
TestREST_GetOutboundsStats
Function · 0.36
TestREST_GetInboundsStats
Function · 0.36
TestREST_GetUsersStats
Function · 0.36
userTrafficTotal
Function · 0.36
userOnline
Function · 0.36
statValueByType
Function · 0.36
TestXrayBackend
Function · 0.36
TestBuildStatResponseSkipsMalformedAndMapsFields
Function · 0.36