Versions in this module Expand all Collapse all v4 v4.23.2 Apr 17, 2020 Changes in this version + var Certificate_Usage_name = map[int32]string + var Certificate_Usage_value = map[string]int32 + func Client(c net.Conn, config *tls.Config) net.Conn + func Server(c net.Conn, config *tls.Config) net.Conn + func UClient(c net.Conn, config *tls.Config) net.Conn + type Certificate struct + Certificate []byte + Key []byte + Usage Certificate_Usage + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func ParseCertificate(c *cert.Certificate) *Certificate + func (*Certificate) Descriptor() ([]byte, []int) + func (*Certificate) ProtoMessage() + func (m *Certificate) GetCertificate() []byte + func (m *Certificate) GetKey() []byte + func (m *Certificate) GetUsage() Certificate_Usage + func (m *Certificate) Reset() + func (m *Certificate) String() string + func (m *Certificate) XXX_DiscardUnknown() + func (m *Certificate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Certificate) XXX_Merge(src proto.Message) + func (m *Certificate) XXX_Size() int + func (m *Certificate) XXX_Unmarshal(b []byte) error + type Certificate_Usage int32 + const Certificate_AUTHORITY_ISSUE + const Certificate_AUTHORITY_VERIFY + const Certificate_ENCIPHERMENT + func (Certificate_Usage) EnumDescriptor() ([]byte, []int) + func (x Certificate_Usage) String() string + type Config struct + AllowInsecure bool + AllowInsecureCiphers bool + Certificate []*Certificate + DisableSessionResumption bool + DisableSystemRoot bool + NextProtocol []string + ServerName string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func ConfigFromStreamSettings(settings *internet.MemoryStreamConfig) *Config + func (*Config) Descriptor() ([]byte, []int) + func (*Config) ProtoMessage() + func (c *Config) BuildCertificates() []tls.Certificate + func (c *Config) GetTLSConfig(opts ...Option) *tls.Config + func (c *Config) IsExperiment8357() bool + func (m *Config) GetAllowInsecure() bool + func (m *Config) GetAllowInsecureCiphers() bool + func (m *Config) GetCertificate() []*Certificate + func (m *Config) GetDisableSessionResumption() bool + func (m *Config) GetDisableSystemRoot() bool + func (m *Config) GetNextProtocol() []string + func (m *Config) GetServerName() string + func (m *Config) Reset() + func (m *Config) String() string + func (m *Config) XXX_DiscardUnknown() + func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Config) XXX_Merge(src proto.Message) + func (m *Config) XXX_Size() int + func (m *Config) XXX_Unmarshal(b []byte) error + type Option func(*tls.Config) + func WithDestination(dest net.Destination) Option + func WithNextProto(protocol ...string) Option Other modules containing this package github.com/unifyproxy/v2ray-core