vmess

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: 18 Imported by: 4 modules, 13 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VMessInboundHandler

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

func NewVMessInboundHandler

func NewVMessInboundHandler(dispatcher app.PacketDispatcher, clients user.UserSet) *VMessInboundHandler

func (*VMessInboundHandler) AcceptConnections

func (handler *VMessInboundHandler) AcceptConnections(listener *net.TCPListener) error

func (*VMessInboundHandler) HandleConnection

func (handler *VMessInboundHandler) HandleConnection(connection *net.TCPConn) error

func (*VMessInboundHandler) Listen

func (handler *VMessInboundHandler) Listen(port uint16) error

type VMessInboundHandlerFactory

type VMessInboundHandlerFactory struct {
}

func (*VMessInboundHandlerFactory) Create

func (factory *VMessInboundHandlerFactory) Create(dispatcher app.PacketDispatcher, rawConfig interface{}) (connhandler.InboundConnectionHandler, error)

type VMessOutboundHandler

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

func NewVMessOutboundHandler

func NewVMessOutboundHandler(vNextList []*config.OutboundTarget) *VMessOutboundHandler

func (*VMessOutboundHandler) Dispatch added in v0.9.1

func (handler *VMessOutboundHandler) Dispatch(firstPacket v2net.Packet, ray ray.OutboundRay) error

type VMessOutboundHandlerFactory

type VMessOutboundHandlerFactory struct {
}

func (*VMessOutboundHandlerFactory) Create

func (factory *VMessOutboundHandlerFactory) Create(rawConfig interface{}) (connhandler.OutboundConnectionHandler, error)

Directories

Path Synopsis
Package vmess contains protocol definition, io lib for VMess.
Package vmess contains protocol definition, io lib for VMess.
io

Jump to

Keyboard shortcuts

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