tls

package
v0.0.0-...-8e6527b Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resolver

type Resolver struct {
	// Dialer is ...
	Dialer net.Dialer
	// Addr is ...
	Addr string
	// Config is ...
	Config tls.Config
	// Timeout is ...
	Timeout time.Duration
}

Resolver is ...

func NewResolver

func NewResolver(addr, domain string) *Resolver

NewResolver is ...

func (*Resolver) DialContext

func (r *Resolver) DialContext(ctx context.Context, network, address string) (net.Conn, error)

DialContext is ...

func (*Resolver) Resolve

func (r *Resolver) Resolve(b []byte, n int) (int, error)

Resolve is ...

Jump to

Keyboard shortcuts

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