protocols

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2026 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NodeID

func NodeID(n domain.Node) string

func ParseAnyTLS

func ParseAnyTLS(uri string) (domain.Node, error)

func ParseClash

func ParseClash(raw []byte) ([]domain.Node, error)

Clash/Mihomo "proxies:" list

func ParseHY

func ParseHY(uri string) (domain.Node, error)

func ParseHY2

func ParseHY2(uri string) (domain.Node, error)

func ParseSOCKS

func ParseSOCKS(uri string) (domain.Node, error)

func ParseSS

func ParseSS(uri string) (domain.Node, error)

SIP002 ss://base64(method:password)@host:port#remark, or the legacy form

func ParseTUIC

func ParseTUIC(uri string) (domain.Node, error)

func ParseTrojan

func ParseTrojan(uri string) (domain.Node, error)

func ParseVLess

func ParseVLess(uri string) (domain.Node, error)

vless://uuid@host:port?...#remark

func ParseVMess

func ParseVMess(uri string) (domain.Node, error)

vmess://<base64 json>

func Unbase64

func Unbase64(s string) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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