(t *testing.T)
| 197 | } |
| 198 | |
| 199 | func (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 | |
| 208 | func (this *DAUManager) Close() error { |
| 209 | this.cleanTicker.Stop() |