|
|
|
// 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:
|
|
|
|
ConnectionReuse
|
|
|
|
Config
|
|
|
|
*/
|
|
|
|
package tcp
|
|
|
|
|
|
|
|
import proto "github.com/golang/protobuf/proto"
|
|
|
|
import fmt "fmt"
|
|
|
|
import math "math"
|
|
|
|
import v2ray_core_common_loader "v2ray.com/core/common/loader"
|
|
|
|
|
|
|
|
// 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
|
|
|
|
|
|
|
|
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} }
|
|
|
|
|
|
|
|
type Config struct {
|
|
|
|
ConnectionReuse *ConnectionReuse `protobuf:"bytes,1,opt,name=connection_reuse,json=connectionReuse" json:"connection_reuse,omitempty"`
|
|
|
|
HeaderSettings *v2ray_core_common_loader.TypedSettings `protobuf:"bytes,2,opt,name=header_settings,json=headerSettings" json:"header_settings,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Config) Reset() { *m = Config{} }
|
|
|
|
func (m *Config) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Config) ProtoMessage() {}
|
|
|
|
func (*Config) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
|
|
|
|
|
|
|
func (m *Config) GetConnectionReuse() *ConnectionReuse {
|
|
|
|
if m != nil {
|
|
|
|
return m.ConnectionReuse
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Config) GetHeaderSettings() *v2ray_core_common_loader.TypedSettings {
|
|
|
|
if m != nil {
|
|
|
|
return m.HeaderSettings
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
proto.RegisterType((*ConnectionReuse)(nil), "v2ray.core.transport.internet.tcp.ConnectionReuse")
|
|
|
|
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{
|
|
|
|
// 249 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x84, 0x90, 0xc1, 0x4a, 0xc3, 0x60,
|
|
|
|
0x10, 0x84, 0x89, 0x42, 0x90, 0xbf, 0x60, 0x24, 0x07, 0x29, 0x9e, 0xb4, 0x20, 0xd5, 0xcb, 0xfe,
|
|
|
|
0x10, 0x4f, 0x5e, 0xdb, 0x17, 0x28, 0xd1, 0x93, 0x20, 0x25, 0xdd, 0xae, 0x35, 0xd0, 0xec, 0xfe,
|
|
|
|
0x6c, 0x56, 0x21, 0x8f, 0xe6, 0xdb, 0x49, 0x92, 0xa6, 0x94, 0x5c, 0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