sing_vmess

package
v1.19.0 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleVmess

func HandleVmess(conn net.Conn, tunnel C.Tunnel, additions ...inbound.Addition) bool

func ParseVmessURL

func ParseVmessURL(s string) (addr, username, password string, err error)

Types

type Listener

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

func New

func New(config LC.VmessServer, tunnel C.Tunnel, additions ...inbound.Addition) (sl *Listener, err error)

func (*Listener) AddrList

func (l *Listener) AddrList() (addrList []net.Addr)

func (*Listener) Close

func (l *Listener) Close() error

func (*Listener) Config

func (l *Listener) Config() string

func (*Listener) HandleConn

func (l *Listener) HandleConn(conn net.Conn, tunnel C.Tunnel, additions ...inbound.Addition)

Jump to

Keyboard shortcuts

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