[agent-go] [status] basically accomplished the status module - 1

This commit is contained in:
zeaslity
2023-04-14 10:06:15 +08:00
parent e50ba14c13
commit 7eee7cac63

View File

@@ -0,0 +1,19 @@
package status
import (
"encoding/json"
"fmt"
"testing"
)
func TestReportAppStatus(t *testing.T) {
agentStatus := ReportAppStatus()
marshal, err := json.Marshal(agentStatus)
if err != nil {
return
}
fmt.Printf(string(marshal))
}