Documentation ¶
Index ¶
- func NewClient(c *protocol.TlsConfig, p netapi.Proxy) (netapi.Proxy, error)
- func NewServer(c *listener.Tls, ii netapi.Listener) (netapi.Listener, error)
- func NewTlsAutoServer(c *listener.TlsAuto, ii netapi.Listener) (netapi.Listener, error)
- func TlsAutoConfig(ca *cert.Ca, nextProto []string, servername []string) *tls.Config
- type ServerCert
- type Tls
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTlsAutoServer ¶ added in v0.3.8
Types ¶
type ServerCert ¶ added in v0.3.8
type ServerCert struct {
// contains filtered or unexported fields
}
func (*ServerCert) Cert ¶ added in v0.3.8
func (s *ServerCert) Cert() (*tls.Certificate, error)
type Tls ¶
type Tls struct { netapi.EmptyDispatch // contains filtered or unexported fields }
func (*Tls) PacketConn ¶
Click to show internal directories.
Click to hide internal directories.