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

Method Inspect

internal/stats/bandwidth_stat_manager.go:271–275  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

269}
270
271func (this *BandwidthStatManager) Inspect() {
272 this.locker.Lock()
273 logs.PrintAsJSON(this.m)
274 this.locker.Unlock()
275}
276
277func (this *BandwidthStatManager) Map() map[int64]int64 /** serverId => max bytes **/ {
278 this.locker.Lock()

Callers 2

TestInspectMethod · 0.45

Calls 2

LockMethod · 0.45
UnlockMethod · 0.45

Tested by 1