ipc_jsondef.go 546 B

12345678910111213141516171819202122232425
  1. package zdaemon
  2. type IPCJsonDef_CheckAlive struct {
  3. Alive bool `json:"alive"`
  4. }
  5. type IPCJsonDef_Stop struct {
  6. Success bool `json:"suc"`
  7. Msg string `json:"msg"`
  8. }
  9. type IPCJsonDef_GetStatus struct {
  10. Status string `json:"suc"`
  11. HasExtra bool `json:"has_extra"`
  12. ExtraInfo map[string]string `json:"extra"`
  13. }
  14. type IPCJsonDef_OtherOperationRequest struct {
  15. Operation string `json:"opcmd"`
  16. Args []string `json:"args"`
  17. }
  18. type IPCJsonDef_OtherOperationResponse struct {
  19. Result string `json:"result"`
  20. }