实现基本的监控图表

This commit is contained in:
刘祥超
2021-04-29 16:48:09 +08:00
parent b94fdf11cc
commit d88ad9b3a1
8 changed files with 260 additions and 1 deletions

View File

@@ -0,0 +1,19 @@
// Copyright 2021 Liuxiangchao iwind.liu@gmail.com. All rights reserved.
package tasks
import (
"github.com/iwind/TeaGo/dbs"
"testing"
)
func TestMonitorItemValueTask_Loop(t *testing.T) {
dbs.NotifyReady()
task := NewMonitorItemValueTask()
err := task.Loop()
if err != nil {
t.Fatal(err)
}
t.Log("ok")
}