msg.go 325 B

1234567891011121314151617181920
  1. package msg
  2. type GeneralRes struct {
  3. Code int64 `json:"code"`
  4. Msg string `json:"msg"`
  5. }
  6. type ClientCtlReq struct {
  7. Type int64 `json:"type"`
  8. ProxyName string `json:"proxy_name"`
  9. Passwd string `json:"passwd"`
  10. }
  11. type ClientCtlRes struct {
  12. GeneralRes
  13. }
  14. type ServerCtlReq struct {
  15. Type int64 `json:"type"`
  16. }