tcptun

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2018 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTCPTunServer

func NewTCPTunServer(s string, dialer proxy.Dialer) (proxy.Server, error)

NewTCPTunServer returns a udp tunnel server.

Types

type TCPTun

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

TCPTun struct

func NewTCPTun

func NewTCPTun(s string, dialer proxy.Dialer) (*TCPTun, error)

NewTCPTun returns a tcptun proxy.

func (*TCPTun) ListenAndServe

func (s *TCPTun) ListenAndServe()

ListenAndServe .

Jump to

Keyboard shortcuts

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