go-ayo/common을 gocommon으로 변경
This commit is contained in:
@ -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),
|
||||
|
||||
Reference in New Issue
Block a user