mirror of
https://github.com/fatedier/frp.git
synced 2026-01-11 22:23:12 +00:00
Change directory structure, move models and utils to root directory
This commit is contained in:
20
models/msg/msg.go
Normal file
20
models/msg/msg.go
Normal file
@@ -0,0 +1,20 @@
|
||||
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"`
|
||||
}
|
||||
Reference in New Issue
Block a user