| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // source: proxy/trojan/config.proto
- package trojan
- import (
- fmt "fmt"
- proto "github.com/golang/protobuf/proto"
- math "math"
- protocol "v2ray.com/core/common/protocol"
- )
- // Reference imports to suppress errors if they are not otherwise used.
- var _ = proto.Marshal
- var _ = fmt.Errorf
- var _ = math.Inf
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the proto package it is being compiled against.
- // A compilation error at this line likely means your copy of the
- // proto package needs to be updated.
- const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
- type Account struct {
- Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
- Flow string `protobuf:"bytes,2,opt,name=flow,proto3" json:"flow,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *Account) Reset() { *m = Account{} }
- func (m *Account) String() string { return proto.CompactTextString(m) }
- func (*Account) ProtoMessage() {}
- func (*Account) Descriptor() ([]byte, []int) {
- return fileDescriptor_c2cd7d26d2c3a1c9, []int{0}
- }
- func (m *Account) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Account.Unmarshal(m, b)
- }
- func (m *Account) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Account.Marshal(b, m, deterministic)
- }
- func (m *Account) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Account.Merge(m, src)
- }
- func (m *Account) XXX_Size() int {
- return xxx_messageInfo_Account.Size(m)
- }
- func (m *Account) XXX_DiscardUnknown() {
- xxx_messageInfo_Account.DiscardUnknown(m)
- }
- var xxx_messageInfo_Account proto.InternalMessageInfo
- func (m *Account) GetPassword() string {
- if m != nil {
- return m.Password
- }
- return ""
- }
- func (m *Account) GetFlow() string {
- if m != nil {
- return m.Flow
- }
- return ""
- }
- type Fallback struct {
- Alpn string `protobuf:"bytes,1,opt,name=alpn,proto3" json:"alpn,omitempty"`
- Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
- Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
- Dest string `protobuf:"bytes,4,opt,name=dest,proto3" json:"dest,omitempty"`
- Xver uint64 `protobuf:"varint,5,opt,name=xver,proto3" json:"xver,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *Fallback) Reset() { *m = Fallback{} }
- func (m *Fallback) String() string { return proto.CompactTextString(m) }
- func (*Fallback) ProtoMessage() {}
- func (*Fallback) Descriptor() ([]byte, []int) {
- return fileDescriptor_c2cd7d26d2c3a1c9, []int{1}
- }
- func (m *Fallback) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Fallback.Unmarshal(m, b)
- }
- func (m *Fallback) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Fallback.Marshal(b, m, deterministic)
- }
- func (m *Fallback) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Fallback.Merge(m, src)
- }
- func (m *Fallback) XXX_Size() int {
- return xxx_messageInfo_Fallback.Size(m)
- }
- func (m *Fallback) XXX_DiscardUnknown() {
- xxx_messageInfo_Fallback.DiscardUnknown(m)
- }
- var xxx_messageInfo_Fallback proto.InternalMessageInfo
- func (m *Fallback) GetAlpn() string {
- if m != nil {
- return m.Alpn
- }
- return ""
- }
- func (m *Fallback) GetPath() string {
- if m != nil {
- return m.Path
- }
- return ""
- }
- func (m *Fallback) GetType() string {
- if m != nil {
- return m.Type
- }
- return ""
- }
- func (m *Fallback) GetDest() string {
- if m != nil {
- return m.Dest
- }
- return ""
- }
- func (m *Fallback) GetXver() uint64 {
- if m != nil {
- return m.Xver
- }
- return 0
- }
- type ClientConfig struct {
- Server []*protocol.ServerEndpoint `protobuf:"bytes,1,rep,name=server,proto3" json:"server,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *ClientConfig) Reset() { *m = ClientConfig{} }
- func (m *ClientConfig) String() string { return proto.CompactTextString(m) }
- func (*ClientConfig) ProtoMessage() {}
- func (*ClientConfig) Descriptor() ([]byte, []int) {
- return fileDescriptor_c2cd7d26d2c3a1c9, []int{2}
- }
- func (m *ClientConfig) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ClientConfig.Unmarshal(m, b)
- }
- func (m *ClientConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ClientConfig.Marshal(b, m, deterministic)
- }
- func (m *ClientConfig) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ClientConfig.Merge(m, src)
- }
- func (m *ClientConfig) XXX_Size() int {
- return xxx_messageInfo_ClientConfig.Size(m)
- }
- func (m *ClientConfig) XXX_DiscardUnknown() {
- xxx_messageInfo_ClientConfig.DiscardUnknown(m)
- }
- var xxx_messageInfo_ClientConfig proto.InternalMessageInfo
- func (m *ClientConfig) GetServer() []*protocol.ServerEndpoint {
- if m != nil {
- return m.Server
- }
- return nil
- }
- type ServerConfig struct {
- Users []*protocol.User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
- Fallbacks []*Fallback `protobuf:"bytes,3,rep,name=fallbacks,proto3" json:"fallbacks,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *ServerConfig) Reset() { *m = ServerConfig{} }
- func (m *ServerConfig) String() string { return proto.CompactTextString(m) }
- func (*ServerConfig) ProtoMessage() {}
- func (*ServerConfig) Descriptor() ([]byte, []int) {
- return fileDescriptor_c2cd7d26d2c3a1c9, []int{3}
- }
- func (m *ServerConfig) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ServerConfig.Unmarshal(m, b)
- }
- func (m *ServerConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ServerConfig.Marshal(b, m, deterministic)
- }
- func (m *ServerConfig) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ServerConfig.Merge(m, src)
- }
- func (m *ServerConfig) XXX_Size() int {
- return xxx_messageInfo_ServerConfig.Size(m)
- }
- func (m *ServerConfig) XXX_DiscardUnknown() {
- xxx_messageInfo_ServerConfig.DiscardUnknown(m)
- }
- var xxx_messageInfo_ServerConfig proto.InternalMessageInfo
- func (m *ServerConfig) GetUsers() []*protocol.User {
- if m != nil {
- return m.Users
- }
- return nil
- }
- func (m *ServerConfig) GetFallbacks() []*Fallback {
- if m != nil {
- return m.Fallbacks
- }
- return nil
- }
- func init() {
- proto.RegisterType((*Account)(nil), "v2ray.core.proxy.trojan.Account")
- proto.RegisterType((*Fallback)(nil), "v2ray.core.proxy.trojan.Fallback")
- proto.RegisterType((*ClientConfig)(nil), "v2ray.core.proxy.trojan.ClientConfig")
- proto.RegisterType((*ServerConfig)(nil), "v2ray.core.proxy.trojan.ServerConfig")
- }
- func init() {
- proto.RegisterFile("proxy/trojan/config.proto", fileDescriptor_c2cd7d26d2c3a1c9)
- }
- var fileDescriptor_c2cd7d26d2c3a1c9 = []byte{
- // 348 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xbd, 0x4e, 0xfb, 0x30,
- 0x14, 0xc5, 0x95, 0x7e, 0xfd, 0x5b, 0xff, 0x3b, 0x65, 0x69, 0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