From 566cd9e9c4b7f10f19b7eb647c6c7cad4647ac44 Mon Sep 17 00:00:00 2001 From: mhsanaei Date: Mon, 16 Sep 2024 11:41:21 +0200 Subject: New - Allocate --- database/model/model.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'database/model/model.go') diff --git a/database/model/model.go b/database/model/model.go index 402565b6..9893776d 100644 --- a/database/model/model.go +++ b/database/model/model.go @@ -46,6 +46,7 @@ type Inbound struct { StreamSettings string `json:"streamSettings" form:"streamSettings"` Tag string `json:"tag" form:"tag" gorm:"unique"` Sniffing string `json:"sniffing" form:"sniffing"` + Allocate string `json:"allocate" form:"allocate"` } type OutboundTraffics struct { @@ -75,6 +76,7 @@ func (i *Inbound) GenXrayInboundConfig() *xray.InboundConfig { StreamSettings: json_util.RawMessage(i.StreamSettings), Tag: i.Tag, Sniffing: json_util.RawMessage(i.Sniffing), + Allocate: json_util.RawMessage(i.Allocate), } } -- cgit v1.2.3