Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormhsanaei <ho3ein.sanaei@gmail.com>2024-09-16 12:41:21 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2024-09-16 12:41:21 +0300
commit566cd9e9c4b7f10f19b7eb647c6c7cad4647ac44 (patch)
tree88dfe6ef573c216f79b14d4205407f4d2ec96b21 /database/model/model.go
parentad78cec7c79c51f16940f54baeb35cbefd18d939 (diff)
New - Allocate
Diffstat (limited to 'database/model/model.go')
-rw-r--r--database/model/model.go2
1 files changed, 2 insertions, 0 deletions
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),
}
}