vmess

package
v0.3.1-rc.1 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewVmess

func NewVmess(config *node.Protocol_Vmess) node.WrapProxy

Types

type Vmess

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

Vmess vmess client

func (*Vmess) Conn

func (v *Vmess) Conn(host proxy.Address) (conn net.Conn, err error)

Conn create a connection for host

func (*Vmess) PacketConn

func (v *Vmess) PacketConn(host proxy.Address) (conn net.PacketConn, err error)

PacketConn packet transport connection

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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