Initial commit (code only without large binaries)
This commit is contained in:
19
EdgeAPI/internal/accesslogs/storage_manager_test.go
Normal file
19
EdgeAPI/internal/accesslogs/storage_manager_test.go
Normal file
@@ -0,0 +1,19 @@
|
||||
//go:build plus
|
||||
|
||||
package accesslogs
|
||||
|
||||
import (
|
||||
"github.com/iwind/TeaGo/dbs"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestStorageManager_Loop(t *testing.T) {
|
||||
dbs.NotifyReady()
|
||||
|
||||
var storage = NewStorageManager()
|
||||
err := storage.Loop()
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
t.Log(storage.storageMap)
|
||||
}
|
||||
Reference in New Issue
Block a user