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

Method UniqueKey

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

Source from the content-addressed store, hash-verified

26}
27
28func (this *Stat) UniqueKey(version int32, itemId int64) string {
29 return UniqueKey(this.ServerId, this.Keys, this.Time, version, itemId)
30}
31
32func (this *Stat) FullKey(version int32, itemId int64) string {
33 return this.Time + "_" + string(int32ToBigEndian(version)) + this.UniqueKey(version, itemId)

Callers 3

FullKeyMethod · 0.95
InsertStatMethod · 0.80
ClientMethod · 0.80

Calls 1

UniqueKeyFunction · 0.85

Tested by

no test coverage detected