udptun

package
v0.6.11 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2018 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUDPTunServer

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

NewUDPTunServer returns a udp tunnel server

Types

type UDPTun

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

UDPTun struct

func NewUDPTun

func NewUDPTun(s string, dialer proxy.Dialer) (*UDPTun, error)

NewUDPTun returns a UDPTun proxy

func (*UDPTun) ListenAndServe

func (s *UDPTun) ListenAndServe()

ListenAndServe .

func (*UDPTun) Serve added in v0.6.9

func (s *UDPTun) Serve(c net.Conn)

Serve .

Jump to

Keyboard shortcuts

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