diff options
| author | MHSanaei <mc.sanaei@gmail.com> | 2023-02-16 18:58:20 +0300 |
|---|---|---|
| committer | MHSanaei <mc.sanaei@gmail.com> | 2023-02-16 18:58:20 +0300 |
| commit | fe9844b51b04bb924bb0e5444b493668c9df92a2 (patch) | |
| tree | f32156eff095434b2e256630d4b2ddf8ea5715d2 /database/model/model.go | |
| parent | 30611383de06c9a97e3cbb8fcf1bbe531846f6b2 (diff) | |
update pack
Diffstat (limited to 'database/model/model.go')
| -rw-r--r-- | database/model/model.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/database/model/model.go b/database/model/model.go index 30e348be..56118c73 100644 --- a/database/model/model.go +++ b/database/model/model.go @@ -43,11 +43,6 @@ type Inbound struct { Tag string `json:"tag" form:"tag" gorm:"unique"` Sniffing string `json:"sniffing" form:"sniffing"` } -type InboundClientIps struct { - Id int `json:"id" gorm:"primaryKey;autoIncrement"` - ClientEmail string `json:"clientEmail" form:"clientEmail" gorm:"unique"` - Ips string `json:"ips" form:"ips"` -} func (i *Inbound) GenXrayInboundConfig() *xray.InboundConfig { listen := i.Listen @@ -74,7 +69,6 @@ type Client struct { ID string `json:"id"` AlterIds uint16 `json:"alterId"` Email string `json:"email"` - LimitIP int `json:"limitIp"` Security string `json:"security"` TotalGB int64 `json:"totalGB" form:"totalGB"` ExpiryTime int64 `json:"expiryTime" form:"expiryTime"` |
