2017-01-02 14:52:45 -05:00
|
|
|
package dispatcher
|
|
|
|
|
2018-09-17 09:12:58 -04:00
|
|
|
import (
|
|
|
|
fmt "fmt"
|
|
|
|
proto "github.com/golang/protobuf/proto"
|
|
|
|
math "math"
|
|
|
|
)
|
2017-01-02 14:52:45 -05:00
|
|
|
|
|
|
|
// 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.
|
2018-12-01 11:39:51 -05:00
|
|
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
2017-01-02 14:52:45 -05:00
|
|
|
|
2017-01-08 04:10:37 -05:00
|
|
|
type SessionConfig struct {
|
2018-05-25 05:56:01 -04:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2017-01-08 04:10:37 -05:00
|
|
|
}
|
|
|
|
|
2018-05-25 05:56:01 -04:00
|
|
|
func (m *SessionConfig) Reset() { *m = SessionConfig{} }
|
|
|
|
func (m *SessionConfig) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*SessionConfig) ProtoMessage() {}
|
|
|
|
func (*SessionConfig) Descriptor() ([]byte, []int) {
|
2018-09-14 05:00:59 -04:00
|
|
|
return fileDescriptor_90b7c41cce355532, []int{0}
|
2018-05-25 05:56:01 -04:00
|
|
|
}
|
2018-09-30 12:39:28 -04:00
|
|
|
|
2018-05-25 05:56:01 -04:00
|
|
|
func (m *SessionConfig) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_SessionConfig.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *SessionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_SessionConfig.Marshal(b, m, deterministic)
|
|
|
|
}
|
2018-09-14 05:00:59 -04:00
|
|
|
func (m *SessionConfig) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_SessionConfig.Merge(m, src)
|
2018-05-25 05:56:01 -04:00
|
|
|
}
|
|
|
|
func (m *SessionConfig) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_SessionConfig.Size(m)
|
|
|
|
}
|
|
|
|
func (m *SessionConfig) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_SessionConfig.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_SessionConfig proto.InternalMessageInfo
|
2017-01-08 04:10:37 -05:00
|
|
|
|
2017-01-02 14:52:45 -05:00
|
|
|
type Config struct {
|
2018-06-26 10:28:54 -04:00
|
|
|
Settings *SessionConfig `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
|
2018-05-25 05:56:01 -04:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Config) Reset() { *m = Config{} }
|
|
|
|
func (m *Config) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Config) ProtoMessage() {}
|
|
|
|
func (*Config) Descriptor() ([]byte, []int) {
|
2018-09-14 05:00:59 -04:00
|
|
|
return fileDescriptor_90b7c41cce355532, []int{1}
|
2018-05-25 05:56:01 -04:00
|
|
|
}
|
2018-09-30 12:39:28 -04:00
|
|
|
|
2018-05-25 05:56:01 -04:00
|
|
|
func (m *Config) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_Config.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_Config.Marshal(b, m, deterministic)
|
|
|
|
}
|
2018-09-14 05:00:59 -04:00
|
|
|
func (m *Config) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_Config.Merge(m, src)
|
2018-05-25 05:56:01 -04:00
|
|
|
}
|
|
|
|
func (m *Config) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_Config.Size(m)
|
|
|
|
}
|
|
|
|
func (m *Config) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_Config.DiscardUnknown(m)
|
2017-01-02 14:52:45 -05:00
|
|
|
}
|
|
|
|
|
2018-05-25 05:56:01 -04:00
|
|
|
var xxx_messageInfo_Config proto.InternalMessageInfo
|
2017-01-08 04:10:37 -05:00
|
|
|
|
|
|
|
func (m *Config) GetSettings() *SessionConfig {
|
|
|
|
if m != nil {
|
|
|
|
return m.Settings
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2017-01-02 14:52:45 -05:00
|
|
|
|
|
|
|
func init() {
|
2017-01-08 04:10:37 -05:00
|
|
|
proto.RegisterType((*SessionConfig)(nil), "v2ray.core.app.dispatcher.SessionConfig")
|
2017-01-02 14:52:45 -05:00
|
|
|
proto.RegisterType((*Config)(nil), "v2ray.core.app.dispatcher.Config")
|
|
|
|
}
|
|
|
|
|
2018-05-25 05:56:01 -04:00
|
|
|
func init() {
|
2018-09-14 05:00:59 -04:00
|
|
|
proto.RegisterFile("v2ray.com/core/app/dispatcher/config.proto", fileDescriptor_90b7c41cce355532)
|
2018-05-25 05:56:01 -04:00
|
|
|
}
|
2017-01-02 14:52:45 -05:00
|
|
|
|
2018-09-14 05:00:59 -04:00
|
|
|
var fileDescriptor_90b7c41cce355532 = []byte{
|
2017-04-24 18:19:22 -04:00
|
|
|
// 176 bytes of a gzipped FileDescriptorProto
|
2017-04-04 06:28:14 -04:00
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x2a, 0x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