stun_udp

package
v2.1.5+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2020 License: BSD-2-Clause, BSD-3-Clause Imports: 18 Imported by: 2

Documentation

Overview

Go language Tor Pluggable Transport suite. Works only as a managed client/server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientSetup

func ClientSetup(socksAddr string, target string, ptClientProxy *url.URL, names []string, options string) bool

func ServerSetup

func ServerSetup(ptServerInfo pt.ServerInfo, stateDir string, options string) (launched bool)

Types

type ConnState

type ConnState struct {
	Conn    net.Conn
	Waiting bool
}

func NewConnState

func NewConnState() ConnState

type ConnTracker

type ConnTracker map[string]ConnState

Jump to

Keyboard shortcuts

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