2016-10-02 17:43:58 -04:00
|
|
|
// Code generated by protoc-gen-go.
|
|
|
|
// source: v2ray.com/core/transport/internet/tcp/config.proto
|
|
|
|
// DO NOT EDIT!
|
|
|
|
|
|
|
|
/*
|
|
|
|
Package tcp is a generated protocol buffer package.
|
|
|
|
|
|
|
|
It is generated from these files:
|
|
|
|
v2ray.com/core/transport/internet/tcp/config.proto
|
|
|
|
|
|
|
|
It has these top-level messages:
|
2016-10-17 08:35:13 -04:00
|
|
|
ConnectionReuse
|
2016-10-02 17:43:58 -04:00
|
|
|
Config
|
|
|
|
*/
|
|
|
|
package tcp
|
|
|
|
|
|
|
|
import proto "github.com/golang/protobuf/proto"
|
|
|
|
import fmt "fmt"
|
|
|
|
import math "math"
|
2016-12-15 05:51:09 -05:00
|
|
|
import v2ray_core_common_serial "v2ray.com/core/common/serial"
|
2016-10-02 17:43:58 -04: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.
|
|
|
|
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
|
|
|
|
2016-10-17 08:35:13 -04:00
|
|
|
type ConnectionReuse struct {
|
|
|
|
Enable bool `protobuf:"varint,1,opt,name=enable" json:"enable,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ConnectionReuse) Reset() { *m = ConnectionReuse{} }
|
|
|
|
func (m *ConnectionReuse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ConnectionReuse) ProtoMessage() {}
|
|
|
|
func (*ConnectionReuse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
|
|
|
|
2016-12-23 06:42:25 -05:00
|
|
|
func (m *ConnectionReuse) GetEnable() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.Enable
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2016-10-02 17:43:58 -04:00
|
|
|
type Config struct {
|
2016-12-15 05:51:09 -05:00
|
|
|
ConnectionReuse *ConnectionReuse `protobuf:"bytes,1,opt,name=connection_reuse,json=connectionReuse" json:"connection_reuse,omitempty"`
|
|
|
|
HeaderSettings *v2ray_core_common_serial.TypedMessage `protobuf:"bytes,2,opt,name=header_settings,json=headerSettings" json:"header_settings,omitempty"`
|
2016-10-02 17:43:58 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Config) Reset() { *m = Config{} }
|
|
|
|
func (m *Config) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Config) ProtoMessage() {}
|
2016-10-17 08:35:13 -04:00
|
|
|
func (*Config) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
|
|
|
|
|
|
|
func (m *Config) GetConnectionReuse() *ConnectionReuse {
|
|
|
|
if m != nil {
|
|
|
|
return m.ConnectionReuse
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2016-10-02 17:43:58 -04:00
|
|
|
|
2016-12-15 05:51:09 -05:00
|
|
|
func (m *Config) GetHeaderSettings() *v2ray_core_common_serial.TypedMessage {
|
2016-11-02 17:26:21 -04:00
|
|
|
if m != nil {
|
|
|
|
return m.HeaderSettings
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2016-10-02 17:43:58 -04:00
|
|
|
func init() {
|
2016-10-17 08:35:13 -04:00
|
|
|
proto.RegisterType((*ConnectionReuse)(nil), "v2ray.core.transport.internet.tcp.ConnectionReuse")
|
2016-10-02 17:43:58 -04:00
|
|
|
proto.RegisterType((*Config)(nil), "v2ray.core.transport.internet.tcp.Config")
|
|
|
|
}
|
|
|
|
|
|
|
|
func init() { proto.RegisterFile("v2ray.com/core/transport/internet/tcp/config.proto", fileDescriptor0) }
|
|
|
|
|
|
|
|
var fileDescriptor0 = []byte{
|
2016-12-22 18:30:46 -05:00
|
|
|
// 277 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x84, 0x90, 0xc1, 0x4a, 0xc3, 0x40,
|
|
|
|
0x10, 0x86, 0x69, 0x85, 0x22, 0x5b, 0x30, 0x92, 0x83, 0x14, 0x4f, 0xb6, 0xa0, 0xe8, 0x65, 0x57,
|
|
|
|
0xe2, 0x1b, 0x34, 0x27, 0x0f, 0xa2, 0xc4, 0xe0, 0x41, 0x28, 0x61, 0x3b, 0x1d, 0x63, 0xa0, 0xd9,
|
|
|
|
0x59, 0x76, 0x47, 0x21, 0xaf, 0xe4, 0x13, 0xf8, 0x78, 0x92, 0x6c, 0x13, 0x24, 0x97, 0x1e, 0x17,
|
|
|
|
0xfe, 0xef, 0xdf, 0xff, 0x1b, 0x91, 0x7c, 0x27, 0x4e, 0x37, 0x12, 0xa8, 0x56, 0x40, 0x0e, 0x15,
|
|
|
|
0x3b, 0x6d, 0xbc, 0x25, 0xc7, 0xaa, 0x32, 0x8c, 0xce, 0x20, 0x2b, 0x06, 0xab, 0x80, 0xcc, 0x47,
|
|
|
|
0x55, 0x4a, 0xeb, 0x88, 0x29, 0x5e, 0xf6, 0x8c, 0x43, 0x39, 0xe4, 0x65, 0x9f, 0x97, 0x0c, 0xf6,
|
|
|
|
0xf2, 0x7e, 0x54, 0x0b, 0x54, 0xd7, 0x64, 0x94, 0x47, 0x57, 0xe9, 0xbd, 0xe2, 0xc6, 0xe2, 0xae,
|
|
|
|
0xa8, 0xd1, 0x7b, 0x5d, 0x62, 0x28, 0x5d, 0xdd, 0x89, 0x28, 0x25, 0x63, 0x10, 0xb8, 0x22, 0x93,
|
|
|
|
0xe1, 0x97, 0xc7, 0xf8, 0x42, 0xcc, 0xd0, 0xe8, 0xed, 0x1e, 0x17, 0x93, 0xab, 0xc9, 0xed, 0x69,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