| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 | 
							- // Code generated by protoc-gen-go.
 
- // source: v2ray.com/core/common/protocol/headers.proto
 
- // DO NOT EDIT!
 
- /*
 
- Package protocol is a generated protocol buffer package.
 
- It is generated from these files:
 
- 	v2ray.com/core/common/protocol/headers.proto
 
- 	v2ray.com/core/common/protocol/server_spec.proto
 
- 	v2ray.com/core/common/protocol/user.proto
 
- It has these top-level messages:
 
- 	ServerEndpoint
 
- 	User
 
- */
 
- package protocol
 
- import proto "github.com/golang/protobuf/proto"
 
- import fmt "fmt"
 
- import math "math"
 
- // 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 SecurityType int32
 
- const (
 
- 	SecurityType_LEGACY            SecurityType = 0
 
- 	SecurityType_NONE              SecurityType = 1
 
- 	SecurityType_AES128_GCM        SecurityType = 2
 
- 	SecurityType_CHACHA20_POLY1305 SecurityType = 3
 
- )
 
- var SecurityType_name = map[int32]string{
 
- 	0: "LEGACY",
 
- 	1: "NONE",
 
- 	2: "AES128_GCM",
 
- 	3: "CHACHA20_POLY1305",
 
- }
 
- var SecurityType_value = map[string]int32{
 
- 	"LEGACY":            0,
 
- 	"NONE":              1,
 
- 	"AES128_GCM":        2,
 
- 	"CHACHA20_POLY1305": 3,
 
- }
 
- func (x SecurityType) String() string {
 
- 	return proto.EnumName(SecurityType_name, int32(x))
 
- }
 
- func (SecurityType) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
 
- func init() {
 
- 	proto.RegisterEnum("v2ray.core.common.protocol.SecurityType", SecurityType_name, SecurityType_value)
 
- }
 
- func init() { proto.RegisterFile("v2ray.com/core/common/protocol/headers.proto", fileDescriptor0) }
 
- var fileDescriptor0 = []byte{
 
- 	// 183 bytes of a gzipped FileDescriptorProto
 
- 	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe2, 0xd2, 0x29, 0x33, 0x2a, 0x4a,
 
- 	0xac, 0xd4, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xce, 0x2f, 0x4a, 0xd5, 0x4f, 0xce, 0xcf, 0xcd, 0xcd,
 
- 	0xcf, 0xd3, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0xce, 0xcf, 0xd1, 0xcf, 0x48, 0x4d, 0x4c, 0x49,
 
- 	0x2d, 0x2a, 0xd6, 0x03, 0x0b, 0x08, 0x49, 0xc1, 0x54, 0x17, 0xa5, 0xea, 0x41, 0x54, 0xea, 0xc1,
 
- 	0x54, 0x6a, 0x79, 0x73, 0xf1, 0x04, 0xa7, 0x26, 0x97, 0x16, 0x65, 0x96, 0x54, 0x86, 0x54, 0x16,
 
- 	0xa4, 0x0a, 0x71, 0x71, 0xb1, 0xf9, 0xb8, 0xba, 0x3b, 0x3a, 0x47, 0x0a, 0x30, 0x08, 0x71, 0x70,
 
- 	0xb1, 0xf8, 0xf9, 0xfb, 0xb9, 0x0a, 0x30, 0x0a, 0xf1, 0x71, 0x71, 0x39, 0xba, 0x06, 0x1b, 0x1a,
 
- 	0x59, 0xc4, 0xbb, 0x3b, 0xfb, 0x0a, 0x30, 0x09, 0x89, 0x72, 0x09, 0x3a, 0x7b, 0x38, 0x3a, 0x7b,
 
- 	0x38, 0x1a, 0x19, 0xc4, 0x07, 0xf8, 0xfb, 0x44, 0x1a, 0x1a, 0x1b, 0x98, 0x0a, 0x30, 0x3b, 0x59,
 
- 	0x70, 0xc9, 0x25, 0xe7, 0xe7, 0xea, 0xe1, 0xb6, 0xce, 0x89, 0xc7, 0x03, 0xe2, 0xb2, 0x00, 0x90,
 
- 	0x40, 0x14, 0x07, 0x4c, 0x3c, 0x89, 0x0d, 0xcc, 0x32, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x39,
 
- 	0x10, 0x43, 0xb4, 0xd9, 0x00, 0x00, 0x00,
 
- }
 
 
  |