|
@@ -20,6 +20,51 @@ const (
|
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
|
)
|
|
)
|
|
|
|
|
|
|
|
|
|
+type Reverse struct {
|
|
|
|
|
+ state protoimpl.MessageState
|
|
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
|
|
+
|
|
|
|
|
+ Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (x *Reverse) Reset() {
|
|
|
|
|
+ *x = Reverse{}
|
|
|
|
|
+ mi := &file_proxy_vless_account_proto_msgTypes[0]
|
|
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (x *Reverse) String() string {
|
|
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (*Reverse) ProtoMessage() {}
|
|
|
|
|
+
|
|
|
|
|
+func (x *Reverse) ProtoReflect() protoreflect.Message {
|
|
|
|
|
+ mi := &file_proxy_vless_account_proto_msgTypes[0]
|
|
|
|
|
+ if x != nil {
|
|
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
+ if ms.LoadMessageInfo() == nil {
|
|
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
|
|
+ }
|
|
|
|
|
+ return ms
|
|
|
|
|
+ }
|
|
|
|
|
+ return mi.MessageOf(x)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+// Deprecated: Use Reverse.ProtoReflect.Descriptor instead.
|
|
|
|
|
+func (*Reverse) Descriptor() ([]byte, []int) {
|
|
|
|
|
+ return file_proxy_vless_account_proto_rawDescGZIP(), []int{0}
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+func (x *Reverse) GetTag() string {
|
|
|
|
|
+ if x != nil {
|
|
|
|
|
+ return x.Tag
|
|
|
|
|
+ }
|
|
|
|
|
+ return ""
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
type Account struct {
|
|
type Account struct {
|
|
|
state protoimpl.MessageState
|
|
state protoimpl.MessageState
|
|
|
sizeCache protoimpl.SizeCache
|
|
sizeCache protoimpl.SizeCache
|
|
@@ -28,16 +73,17 @@ type Account struct {
|
|
|
// ID of the account, in the form of a UUID, e.g., "66ad4540-b58c-4ad2-9926-ea63445a9b57".
|
|
// ID of the account, in the form of a UUID, e.g., "66ad4540-b58c-4ad2-9926-ea63445a9b57".
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
// Flow settings. May be "xtls-rprx-vision".
|
|
// Flow settings. May be "xtls-rprx-vision".
|
|
|
- Flow string `protobuf:"bytes,2,opt,name=flow,proto3" json:"flow,omitempty"`
|
|
|
|
|
- Encryption string `protobuf:"bytes,3,opt,name=encryption,proto3" json:"encryption,omitempty"`
|
|
|
|
|
- XorMode uint32 `protobuf:"varint,4,opt,name=xorMode,proto3" json:"xorMode,omitempty"`
|
|
|
|
|
- Seconds uint32 `protobuf:"varint,5,opt,name=seconds,proto3" json:"seconds,omitempty"`
|
|
|
|
|
- Padding string `protobuf:"bytes,6,opt,name=padding,proto3" json:"padding,omitempty"`
|
|
|
|
|
|
|
+ Flow string `protobuf:"bytes,2,opt,name=flow,proto3" json:"flow,omitempty"`
|
|
|
|
|
+ Encryption string `protobuf:"bytes,3,opt,name=encryption,proto3" json:"encryption,omitempty"`
|
|
|
|
|
+ XorMode uint32 `protobuf:"varint,4,opt,name=xorMode,proto3" json:"xorMode,omitempty"`
|
|
|
|
|
+ Seconds uint32 `protobuf:"varint,5,opt,name=seconds,proto3" json:"seconds,omitempty"`
|
|
|
|
|
+ Padding string `protobuf:"bytes,6,opt,name=padding,proto3" json:"padding,omitempty"`
|
|
|
|
|
+ Reverse *Reverse `protobuf:"bytes,7,opt,name=reverse,proto3" json:"reverse,omitempty"`
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func (x *Account) Reset() {
|
|
func (x *Account) Reset() {
|
|
|
*x = Account{}
|
|
*x = Account{}
|
|
|
- mi := &file_proxy_vless_account_proto_msgTypes[0]
|
|
|
|
|
|
|
+ mi := &file_proxy_vless_account_proto_msgTypes[1]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
}
|
|
@@ -49,7 +95,7 @@ func (x *Account) String() string {
|
|
|
func (*Account) ProtoMessage() {}
|
|
func (*Account) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Account) ProtoReflect() protoreflect.Message {
|
|
func (x *Account) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_proxy_vless_account_proto_msgTypes[0]
|
|
|
|
|
|
|
+ mi := &file_proxy_vless_account_proto_msgTypes[1]
|
|
|
if x != nil {
|
|
if x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -62,7 +108,7 @@ func (x *Account) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
// Deprecated: Use Account.ProtoReflect.Descriptor instead.
|
|
// Deprecated: Use Account.ProtoReflect.Descriptor instead.
|
|
|
func (*Account) Descriptor() ([]byte, []int) {
|
|
func (*Account) Descriptor() ([]byte, []int) {
|
|
|
- return file_proxy_vless_account_proto_rawDescGZIP(), []int{0}
|
|
|
|
|
|
|
+ return file_proxy_vless_account_proto_rawDescGZIP(), []int{1}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func (x *Account) GetId() string {
|
|
func (x *Account) GetId() string {
|
|
@@ -107,28 +153,40 @@ func (x *Account) GetPadding() string {
|
|
|
return ""
|
|
return ""
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+func (x *Account) GetReverse() *Reverse {
|
|
|
|
|
+ if x != nil {
|
|
|
|
|
+ return x.Reverse
|
|
|
|
|
+ }
|
|
|
|
|
+ return nil
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
var File_proxy_vless_account_proto protoreflect.FileDescriptor
|
|
var File_proxy_vless_account_proto protoreflect.FileDescriptor
|
|
|
|
|
|
|
|
var file_proxy_vless_account_proto_rawDesc = []byte{
|
|
var file_proxy_vless_account_proto_rawDesc = []byte{
|
|
|
0x0a, 0x19, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x76, 0x6c, 0x65, 0x73, 0x73, 0x2f, 0x61, 0x63,
|
|
0x0a, 0x19, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x76, 0x6c, 0x65, 0x73, 0x73, 0x2f, 0x61, 0x63,
|
|
|
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x78, 0x72, 0x61,
|
|
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x78, 0x72, 0x61,
|
|
|
- 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76, 0x6c, 0x65, 0x73, 0x73, 0x22, 0x9b, 0x01,
|
|
|
|
|
- 0x0a, 0x07, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
|
|
|
|
|
- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x6c, 0x6f,
|
|
|
|
|
- 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x1e, 0x0a,
|
|
|
|
|
- 0x0a, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
|
|
|
- 0x09, 0x52, 0x0a, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a,
|
|
|
|
|
- 0x07, 0x78, 0x6f, 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07,
|
|
|
|
|
- 0x78, 0x6f, 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x63, 0x6f, 0x6e,
|
|
|
|
|
- 0x64, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64,
|
|
|
|
|
- 0x73, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x06, 0x20, 0x01,
|
|
|
|
|
- 0x28, 0x09, 0x52, 0x07, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x52, 0x0a, 0x14, 0x63,
|
|
|
|
|
- 0x6f, 0x6d, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76, 0x6c,
|
|
|
|
|
- 0x65, 0x73, 0x73, 0x50, 0x01, 0x5a, 0x25, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
|
|
|
|
|
- 0x6d, 0x2f, 0x78, 0x74, 0x6c, 0x73, 0x2f, 0x78, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65,
|
|
|
|
|
- 0x2f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x76, 0x6c, 0x65, 0x73, 0x73, 0xaa, 0x02, 0x10, 0x58,
|
|
|
|
|
- 0x72, 0x61, 0x79, 0x2e, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x56, 0x6c, 0x65, 0x73, 0x73, 0x62,
|
|
|
|
|
- 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
|
|
|
|
+ 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76, 0x6c, 0x65, 0x73, 0x73, 0x22, 0x1b, 0x0a,
|
|
|
|
|
+ 0x07, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18,
|
|
|
|
|
+ 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x22, 0xd0, 0x01, 0x0a, 0x07, 0x41,
|
|
|
|
|
+ 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
|
|
|
|
+ 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x02,
|
|
|
|
|
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x6e,
|
|
|
|
|
+ 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
|
|
|
|
|
+ 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x78, 0x6f,
|
|
|
|
|
+ 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x78, 0x6f, 0x72,
|
|
|
|
|
+ 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18,
|
|
|
|
|
+ 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x18,
|
|
|
|
|
+ 0x0a, 0x07, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
|
|
+ 0x07, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x33, 0x0a, 0x07, 0x72, 0x65, 0x76, 0x65,
|
|
|
|
|
+ 0x72, 0x73, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x78, 0x72, 0x61, 0x79,
|
|
|
|
|
+ 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76, 0x6c, 0x65, 0x73, 0x73, 0x2e, 0x52, 0x65, 0x76,
|
|
|
|
|
+ 0x65, 0x72, 0x73, 0x65, 0x52, 0x07, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x42, 0x52, 0x0a,
|
|
|
|
|
+ 0x14, 0x63, 0x6f, 0x6d, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e,
|
|
|
|
|
+ 0x76, 0x6c, 0x65, 0x73, 0x73, 0x50, 0x01, 0x5a, 0x25, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
|
|
|
|
|
+ 0x63, 0x6f, 0x6d, 0x2f, 0x78, 0x74, 0x6c, 0x73, 0x2f, 0x78, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f,
|
|
|
|
|
+ 0x72, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x76, 0x6c, 0x65, 0x73, 0x73, 0xaa, 0x02,
|
|
|
|
|
+ 0x10, 0x58, 0x72, 0x61, 0x79, 0x2e, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x56, 0x6c, 0x65, 0x73,
|
|
|
|
|
+ 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
var (
|
|
var (
|
|
@@ -143,16 +201,18 @@ func file_proxy_vless_account_proto_rawDescGZIP() []byte {
|
|
|
return file_proxy_vless_account_proto_rawDescData
|
|
return file_proxy_vless_account_proto_rawDescData
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-var file_proxy_vless_account_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
|
|
|
|
|
|
|
+var file_proxy_vless_account_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
|
|
var file_proxy_vless_account_proto_goTypes = []any{
|
|
var file_proxy_vless_account_proto_goTypes = []any{
|
|
|
- (*Account)(nil), // 0: xray.proxy.vless.Account
|
|
|
|
|
|
|
+ (*Reverse)(nil), // 0: xray.proxy.vless.Reverse
|
|
|
|
|
+ (*Account)(nil), // 1: xray.proxy.vless.Account
|
|
|
}
|
|
}
|
|
|
var file_proxy_vless_account_proto_depIdxs = []int32{
|
|
var file_proxy_vless_account_proto_depIdxs = []int32{
|
|
|
- 0, // [0:0] is the sub-list for method output_type
|
|
|
|
|
- 0, // [0:0] is the sub-list for method input_type
|
|
|
|
|
- 0, // [0:0] is the sub-list for extension type_name
|
|
|
|
|
- 0, // [0:0] is the sub-list for extension extendee
|
|
|
|
|
- 0, // [0:0] is the sub-list for field type_name
|
|
|
|
|
|
|
+ 0, // 0: xray.proxy.vless.Account.reverse:type_name -> xray.proxy.vless.Reverse
|
|
|
|
|
+ 1, // [1:1] is the sub-list for method output_type
|
|
|
|
|
+ 1, // [1:1] is the sub-list for method input_type
|
|
|
|
|
+ 1, // [1:1] is the sub-list for extension type_name
|
|
|
|
|
+ 1, // [1:1] is the sub-list for extension extendee
|
|
|
|
|
+ 0, // [0:1] is the sub-list for field type_name
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func init() { file_proxy_vless_account_proto_init() }
|
|
func init() { file_proxy_vless_account_proto_init() }
|
|
@@ -166,7 +226,7 @@ func file_proxy_vless_account_proto_init() {
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
RawDescriptor: file_proxy_vless_account_proto_rawDesc,
|
|
RawDescriptor: file_proxy_vless_account_proto_rawDesc,
|
|
|
NumEnums: 0,
|
|
NumEnums: 0,
|
|
|
- NumMessages: 1,
|
|
|
|
|
|
|
+ NumMessages: 2,
|
|
|
NumExtensions: 0,
|
|
NumExtensions: 0,
|
|
|
NumServices: 0,
|
|
NumServices: 0,
|
|
|
},
|
|
},
|