sing_vmess

package
v0.0.0-...-845ab49 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleVmess

func HandleVmess(conn net.Conn, in chan<- C.ConnContext, 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, tcpIn chan<- C.ConnContext, udpIn chan<- C.PacketAdapter, 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, in chan<- C.ConnContext, additions ...inbound.Addition)

Jump to

Keyboard shortcuts

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