point

package
v0.0.0-...-f596b8d Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InboundConnectionHandlerWithPort

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

type InboundDetourHandler

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

func (*InboundDetourHandler) Initialize

func (this *InboundDetourHandler) Initialize() error

func (*InboundDetourHandler) Start

func (this *InboundDetourHandler) Start() error

type Point

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

Point is an single server in V2Ray system.

func NewPoint

func NewPoint(pConfig config.PointConfig) (*Point, error)

NewPoint returns a new Point server based on given configuration. The server is not started at this point.

func (*Point) DispatchToOutbound

func (this *Point) DispatchToOutbound(packet v2net.Packet) ray.InboundRay

func (*Point) Start

func (this *Point) Start() error

Start starts the Point server, and return any error during the process. In the case of any errors, the state of the server is unpredicatable.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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