app_info.go 473 B

12345678910111213141516171819
  1. package common
  2. const (
  3. APP_NAME = "app_name"
  4. APP_ID = "app_id"
  5. AGENT_ID = "agent_id"
  6. INSTANCE_ID = "instance_id"
  7. )
  8. type AppInfo struct {
  9. AppName string `json:"app_name"`
  10. AppId int64 `json:"app_id"`
  11. AgentId int64 `json:"agent_id"`
  12. InstanceId int64 `json:"instance_id"`
  13. Sn string `json:"sn"`
  14. Sport int `json:"sport"`
  15. ServiceName string `json:"service_name"`
  16. CodeType CodeType `json:"code_type"`
  17. }