Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MockUser ¶
type MockUser struct {
ID uint32 `json:"id"`
UUID string `json:"uuid"`
Email string `json:"email"`
SpeedLimit int64 `json:"speed_limit"`
DeviceLimit int `json:"device_limit"`
TransferEnable int64 `json:"transfer_enable"`
UsedUpload int64 `json:"used_upload"`
UsedDownload int64 `json:"used_download"`
}
MockUser 模拟用户
type NodeConfig ¶
type NodeConfig struct {
Host string `json:"host"`
ServerPort int `json:"server_port"`
Type string `json:"type"`
Network string `json:"network"`
TLS int `json:"tls"`
}
NodeConfig 节点配置响应
Click to show internal directories.
Click to hide internal directories.