go-ayo/common을 gocommon으로 변경

This commit is contained in:
2023-05-24 15:14:04 +09:00
parent 11ea571b6e
commit 53a385d018
10 changed files with 42 additions and 10 deletions

View File

@ -8,7 +8,11 @@ import (
)
func TestOperationServer(t *testing.T) {
hc, _ := client.NewClient("localhost:8080", "http://localhost/commandcenter")
hc, err := client.NewClient("192.168.9.32:8080", "http://192.168.9.32/commandcenter")
if err != nil {
t.Error(err)
return
}
for i := 0; ; i++ {
hc.SetReportMetrics(map[string]float32{
"count": float32(i),