uottun

package
v0.10.4 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2020 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUoTTunServer

func NewUoTTunServer(s string, p proxy.Proxy) (proxy.Server, error)

NewUoTTunServer returns a uot tunnel server.

Types

type UoTTun

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

UoTTun is a base udp over tcp tunnel struct.

func NewUoTTun

func NewUoTTun(s string, p proxy.Proxy) (*UoTTun, error)

NewUoTTun returns a UoTTun proxy.

func (*UoTTun) ListenAndServe

func (s *UoTTun) ListenAndServe()

ListenAndServe listen and serve on tcp.

func (*UoTTun) Serve added in v0.6.9

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

Serve is not allowed to be called directly.

Jump to

Keyboard shortcuts

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