connectto

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package connectto implements the --connect-to command-line argument logic that allows "redirecting" connections to hosts.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDialFunc

func CreateDialFunc(
	connectTo map[string]string,
	baseDial dialer.DialFunc,
	out *output.Output,
) (f dialer.DialFunc, err error)

CreateDialFunc creates a dialer.DialFunc that overrides the remote endpoint if the address matches what an entry in the connectTo map.

Types

This section is empty.

Jump to

Keyboard shortcuts

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