vmesshub

package
v0.0.0-...-3f695bd Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2022 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	REMOTE_DAIL_TIMEOUT    = 10
	CONN_M0AX_LIVE_TIMEOUT = 60
	BUFFER_SIZE            = 256
)

Variables

This section is empty.

Functions

This section is empty.

Types

type VmessHub

type VmessHub struct {
	S5         *socks5.Socks5
	VC         *vmess.Client
	RemoteHost string
}

func CreateVmessHub

func CreateVmessHub(socksUri string, remoteHost string, uuid string, securityType string, alterId int) (vh *VmessHub, err error)

func (*VmessHub) StartSocks5Listen

func (vh *VmessHub) StartSocks5Listen()

Jump to

Keyboard shortcuts

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