tunnel

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: May 18, 2024 License: MIT Imports: 8 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) (util.LocalConn, error)
}

func NewClient

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

type Server

type Server interface {
	ListenAndServe(handler func(util.ServerConn)) error
	ListenAndServeTLS(certFile, keyFile string, handler func(util.ServerConn)) 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