22 lines
390 B
Go
22 lines
390 B
Go
package config
|
|
|
|
// ServerConfig FRP服务器配置
|
|
type ServerConfig struct {
|
|
// 服务器地址
|
|
Host string
|
|
// 服务器端口
|
|
Port string
|
|
// 服务器token
|
|
Token string
|
|
}
|
|
|
|
// FRP 服务器配置 JSON 格式
|
|
type ServerConfigJson struct {
|
|
// 服务器地址
|
|
Host string `json:"host"`
|
|
// 服务器端口
|
|
Port string `json:"port"`
|
|
// 服务器token
|
|
Token string `json:"token"`
|
|
}
|