format代码

This commit is contained in:
Hurricanezwf
2016-02-05 16:49:52 +08:00
parent 04c26d1c31
commit 60c9804776
7 changed files with 19 additions and 18 deletions

View File

@@ -1,8 +1,8 @@
package models
type GeneralRes struct {
Code int64 `json:"code"`
Msg string `json:"msg"`
Code int64 `json:"code"`
Msg string `json:"msg"`
}
// type
@@ -12,16 +12,15 @@ const (
)
type ClientCtlReq struct {
Type int64 `json:"type"`
ProxyName string `json:"proxy_name"`
Passwd string `json:"passwd"`
Type int64 `json:"type"`
ProxyName string `json:"proxy_name"`
Passwd string `json:"passwd"`
}
type ClientCtlRes struct {
GeneralRes
}
type ServerCtlReq struct {
Type int64 `json:"type"`
Type int64 `json:"type"`
}