github.com/HXSecurity/DongTai-agent-go@v0.4.2/model/response/engine.go (about)

     1  package response
     2  
     3  type ResBase struct {
     4  	Status int    `json:"status"`
     5  	Msg    string `json:"msg"`
     6  }
     7  
     8  type AgentRegisterRes struct {
     9  	ResBase
    10  	Data struct {
    11  		Id            int `json:"id"`
    12  		CoreAutoStart int `json:"coreAutoStart"`
    13  	} `json:"data"`
    14  }
    15  
    16  type LimitRes struct {
    17  	ResBase
    18  	Data []struct {
    19  		Id    int    `json:"id"`
    20  		Key   string `json:"key"`
    21  		Value string `json:"value"`
    22  	} `json:"data"`
    23  }