tunnel

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 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) (util.ToxConn, error)
}

func NewClient

func NewClient(opts util.ToxOptions) (Client, error)

type Server

type Server interface {
	ListenAndServe(handler func(util.ToxConn)) error
}

func NewServer

func NewServer(opts util.ToxOptions) (Server, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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