Versions in this module Expand all Collapse all v1 v1.0.0 Dec 9, 2024 Changes in this version + var File_transport_internet_tls_utls_config_proto protoreflect.FileDescriptor + var ForcedALPN_name = map[int32]string + var ForcedALPN_value = map[string]int32 + func NewUTLSSecurityEngineFromConfig(config *Config) (security.Engine, error) + type Config struct + ForceAlpn ForcedALPN + Imitate string + NoSNI bool + TlsConfig *tls.Config + func (*Config) Descriptor() ([]byte, []int) + func (*Config) ProtoMessage() + func (x *Config) GetForceAlpn() ForcedALPN + func (x *Config) GetImitate() string + func (x *Config) GetNoSNI() bool + func (x *Config) GetTlsConfig() *tls.Config + func (x *Config) ProtoReflect() protoreflect.Message + func (x *Config) Reset() + func (x *Config) String() string + type Engine struct + func (e Engine) Client(conn net.Conn, opts ...security.Option) (security.Conn, error) + type ForcedALPN int32 + const ForcedALPN_NO_ALPN + const ForcedALPN_TRANSPORT_PREFERENCE_TAKE_PRIORITY + const ForcedALPN_UTLS_PRESET + func (ForcedALPN) Descriptor() protoreflect.EnumDescriptor + func (ForcedALPN) EnumDescriptor() ([]byte, []int) + func (ForcedALPN) Type() protoreflect.EnumType + func (x ForcedALPN) Enum() *ForcedALPN + func (x ForcedALPN) Number() protoreflect.EnumNumber + func (x ForcedALPN) String() string