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-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-15 05:51:09 -05:00
|
|
|
// 257 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0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