ctunnel

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2022 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OpenTunnel

func OpenTunnel(a, b net.Conn, opts TunnelOpts) error

OpenTunnel opens a tunnel between a and b. It returns the first err encountered. a and b will be closed by OpenTunnel.

Types

type TunnelOpts

type TunnelOpts struct {
	IdleTimout time.Duration
}

Jump to

Keyboard shortcuts

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