tunnel

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Connect(context.Context) (io.ReadWriteCloser, error)
}

func NewClient

func NewClient(tunnel string, password string) (Client, error)

type Server

type Server interface {
	ListenAndServeTLS(certFile, keyFile string, handler func(io.ReadWriter)) error
}

func NewServer

func NewServer(tunnel string, password string) (Server, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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