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

Method TestInspect

internal/stats/dau_manager.go:199–206  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

197}
198
199func (this *DAUManager) TestInspect(t *testing.T) {
200 err := this.ipTable.DB().Inspect(func(key []byte, value []byte) {
201 t.Log(string(key), "=>", string(value))
202 })
203 if err != nil {
204 t.Fatal(err)
205 }
206}
207
208func (this *DAUManager) Close() error {
209 this.cleanTicker.Stop()

Callers 2

TestDAUManager_AddIPFunction · 0.45

Calls 3

DBMethod · 0.80
LogMethod · 0.80
InspectMethod · 0.45

Tested by 2

TestDAUManager_AddIPFunction · 0.36