Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SyncResponse ¶
SyncResponse of sync func
type User ¶
type User struct { gorm.Model Email string `gorm:"unique_index;not null;column:email"` UUID string `gorm:"unique;not null;column:uuid"` }
User v2ray
type V2ray ¶
type V2ray struct { RemoteTag string // remote v2ray tag RemoteGrpc string // grpc addr APIPort uint32 // remote v2ray api port WsPort uint32 // ws port WsPath string // ws path DB *gorm.DB // db for storage user uuid VNEXT string // 如果有 VNEXT 将会替换默认 outbound SocksPort uint32 // 如果有值则暴露一个无需认证的 socks 端口 // contains filtered or unexported fields }
V2ray remote handler wrapper must sync at first time
func (V2ray) GetDBUsers ¶ added in v0.3.0
GetDBUsers in sqlite db
func (V2ray) RemoveUsers ¶
RemoveUsers v2ray
Click to show internal directories.
Click to hide internal directories.