Documentation ¶
Index ¶
- Variables
- func NewUTLSSecurityEngineFromConfig(config *Config) (security.Engine, error)
- type Config
- func (*Config) Descriptor() ([]byte, []int)deprecated
- func (x *Config) GetImitate() string
- func (x *Config) GetNoSNI() bool
- func (x *Config) GetTlsConfig() *tls.Config
- func (*Config) ProtoMessage()
- func (x *Config) ProtoReflect() protoreflect.Message
- func (x *Config) Reset()
- func (x *Config) String() string
- type Engine
Constants ¶
This section is empty.
Variables ¶
View Source
var File_transport_internet_tls_utls_config_proto protoreflect.FileDescriptor
Functions ¶
Types ¶
type Config ¶
type Config struct { TlsConfig *tls.Config `protobuf:"bytes,1,opt,name=tls_config,json=tlsConfig,proto3" json:"tls_config,omitempty"` Imitate string `protobuf:"bytes,2,opt,name=imitate,proto3" json:"imitate,omitempty"` NoSNI bool `protobuf:"varint,3,opt,name=noSNI,proto3" json:"noSNI,omitempty"` // contains filtered or unexported fields }
func (*Config) Descriptor
deprecated
func (*Config) GetImitate ¶
func (*Config) GetTlsConfig ¶
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.