point

package
v0.14.2 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2015 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 added in v0.14.1

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

type InboundDetourHandler added in v0.14.1

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

func (*InboundDetourHandler) Initialize added in v0.14.1

func (this *InboundDetourHandler) Initialize() error

func (*InboundDetourHandler) Start added in v0.14.1

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 (p *Point) DispatchToOutbound(packet v2net.Packet) ray.InboundRay

func (*Point) Start

func (vp *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