fabricsdial

package
v0.0.0-...-796e579 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2022 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dialer

type Dialer struct {
	HostTokenFunc func(ctx context.Context) (string, string, error)

	Host    string
	User    string
	Key     []byte
	KeyFile string

	TunnelOptions *sniproxy.Options

	Transport http.RoundTripper
}

Dialer dials to a HomeDrive Fabrics service.

func (*Dialer) Dial

func (d *Dialer) Dial(ctx context.Context) (*sniproxy.Endpoint, error)

Dial connects to a HomeDrive Fabrics service, and returns an SNI-proxy endpoint.

Jump to

Keyboard shortcuts

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