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-08-11 01:47:44 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2024-08-11 01:47:44 +0300
commit93d52bc86c4725fdfbdb629e87bbb5d24abf7d37 (patch)
treeffd23266cd3118484dcd012e675e0e2b110e542c /database/model/model.go
parentbda5c2c915977e0cbf9de867d918508ef688dd45 (diff)
new - vmess security (inbound client side - outbound)
Diffstat (limited to 'database/model/model.go')
-rw-r--r--database/model/model.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/database/model/model.go b/database/model/model.go
index 921ab211..402565b6 100644
--- a/database/model/model.go
+++ b/database/model/model.go
@@ -10,7 +10,7 @@ import (
type Protocol string
const (
- VMess Protocol = "vmess"
+ VMESS Protocol = "vmess"
VLESS Protocol = "vless"
DOKODEMO Protocol = "dokodemo-door"
HTTP Protocol = "http"
@@ -86,6 +86,7 @@ type Setting struct {
type Client struct {
ID string `json:"id"`
+ Security string `json:"security"`
Password string `json:"password"`
Flow string `json:"flow"`
Email string `json:"email"`