tls

package
v0.4.12 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 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.Dialer

Types

type Config

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

type Tls

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

func NewTls

func NewTls(dialer stream.Dialer, tlsConfig tls.TLS) *Tls

func (*Tls) DialStream

func (d *Tls) DialStream(ctx context.Context) (stream.Stream, error)

Jump to

Keyboard shortcuts

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