MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / FullKey

Method FullKey

internal/metrics/stat.go:32–34  ·  view source on GitHub ↗
(version int32, itemId int64)

Source from the content-addressed store, hash-verified

30}
31
32func (this *Stat) FullKey(version int32, itemId int64) string {
33 return this.Time + "_" + string(int32ToBigEndian(version)) + this.UniqueKey(version, itemId)
34}
35
36func (this *Stat) EncodeValueKey(version int32) string {
37 if this.Value < 0 {

Callers 1

InsertStatMethod · 0.45

Calls 2

UniqueKeyMethod · 0.95
int32ToBigEndianFunction · 0.85

Tested by

no test coverage detected