remove limit from UserList

This commit is contained in:
yuzuki999
2022-06-13 14:47:01 +08:00
parent 2d279aa202
commit 297d9cc618
3 changed files with 16 additions and 23 deletions

View File

@@ -20,14 +20,14 @@ type TrojanUserInfo struct {
Password string `json:"password"`
}
type UserInfo struct {
DeviceLimit int `json:"device_limit"`
SpeedLimit uint64 `json:"speed_limit"`
UID int `json:"id"`
Port int `json:"port"`
Cipher string `json:"cipher"`
Secret string `json:"secret"`
V2rayUser *V2RayUserInfo `json:"v2ray_user"`
TrojanUser *TrojanUserInfo `json:"trojan_user"`
/*DeviceLimit int `json:"device_limit"`
SpeedLimit uint64 `json:"speed_limit"`*/
UID int `json:"id"`
Port int `json:"port"`
Cipher string `json:"cipher"`
Secret string `json:"secret"`
V2rayUser *V2RayUserInfo `json:"v2ray_user"`
TrojanUser *TrojanUserInfo `json:"trojan_user"`
}
func (p *UserInfo) GetUserEmail() string {