masque

package module
v0.0.0-...-bf3a854 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleMASQUE

func HandleMASQUE(h http.Handler) http.Handler

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(tlsConf *tls.Config, masqueServer *net.UDPAddr) *Client

func (*Client) Connect

func (c *Client) Connect(addr *net.UDPAddr) (net.PacketConn, error)

Connect establishes a PacketConn to addr, proxied via MASQUE server using the MASQUE protocol.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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