tls

package
v0.7.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 24, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTlsWithConfig

func NewTlsWithConfig(conf *Config) stream.ListenConfig

Types

type Config

type Config struct {
	ListenConfig stream.ListenConfig
	TLS          tls.TLS
}

type Tls

type Tls struct {
	// contains filtered or unexported fields
}

func NewTls

func NewTls(listenConfig stream.ListenConfig, tlsConfig tls.TLS) *Tls

func (*Tls) IsVirtual added in v0.7.0

func (t *Tls) IsVirtual() bool

func (*Tls) ListenStream

func (t *Tls) ListenStream(ctx context.Context) (stream.StreamListener, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL