mirror of https://github.com/fatedier/frp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
325 B
21 lines
325 B
package msg
|
|
|
|
type GeneralRes struct {
|
|
Code int64 `json:"code"`
|
|
Msg string `json:"msg"`
|
|
}
|
|
|
|
type ClientCtlReq struct {
|
|
Type int64 `json:"type"`
|
|
ProxyName string `json:"proxy_name"`
|
|
Passwd string `json:"passwd"`
|
|
}
|
|
|
|
type ClientCtlRes struct {
|
|
GeneralRes
|
|
}
|
|
|
|
type ServerCtlReq struct {
|
|
Type int64 `json:"type"`
|
|
}
|