Versions in this module Expand all Collapse all v0 v0.2.7 Feb 15, 2024 Changes in this version + const SchemeSS + const SchemeSSR + const SchemeTrojan + const SchemeVless + const SchemeVmess + const SchemeWireguard + var SSMethod map[string]struct{} = map[string]struct + var SSRMethod map[string]struct{} = map[string]struct + var SSROBFS map[string]struct{} = map[string]struct + func GetVpnScheme(rawUri string) string + func HandleQuery(rawUri string) (result string) + func ParseRawUri(rawUri string) (result string) + func SSRTest() + func TestWireguard() + func TrojanTest() + func VlessTest() + func VmessTest() + type ParserSS struct + Address string + Host string + Method string + Mode string + Mux string + OBFS string + OBFSHost string + Password string + Path string + Plugin string + Port int + func (that *ParserSS) GetAddr() string + func (that *ParserSS) GetPort() int + func (that *ParserSS) Parse(rawUri string) + func (that *ParserSS) Show() + type ParserSSR struct + Address string + Method string + OBFS string + OBFSParam string + Password string + Port int + Proto string + ProtoParam string + func (that *ParserSSR) GetAddr() string + func (that *ParserSSR) GetPort() int + func (that *ParserSSR) Parse(rawUri string) + func (that *ParserSSR) Show() + type ParserTrojan struct + Address string + Password string + Port int + func (that *ParserTrojan) GetAddr() string + func (that *ParserTrojan) GetPort() int + func (that *ParserTrojan) Parse(rawUri string) + func (that *ParserTrojan) Show() + type ParserVless struct + Address string + Encryption string + Flow string + Port int + UUID string + func (that *ParserVless) GetAddr() string + func (that *ParserVless) GetPort() int + func (that *ParserVless) Parse(rawUri string) + func (that *ParserVless) Show() + type ParserVmess struct + AID string + Address string + Nation string + PS string + Path string + Port int + Security string + ServerPort string + SkipCertVerify bool + TestName string + UUID string + V string + func (that *ParserVmess) GetAddr() string + func (that *ParserVmess) GetPort() int + func (that *ParserVmess) Parse(rawUri string) + func (that *ParserVmess) Show() + type ParserWirguard struct + AddrV4 string + AddrV6 string + Address string + AllowedIPs []string + ClientID string + DNS string + DeviceName string + Endpoint string + MTU int + Port int + PrivateKey string + PublicKey string + Reserved []int + func (that *ParserWirguard) GetAddr() string + func (that *ParserWirguard) GetPort() int + func (that *ParserWirguard) Parse(rawUri string) + func (that *ParserWirguard) Show() + type StreamField struct + Fingerprint string + GRPCMultiMode string + GRPCServiceName string + Host string + Network string + PacketEncoding string + Path string + RealityPublicKey string + RealityShortId string + RealitySpiderX string + ServerName string + StreamSecurity string + TCPHeaderType string + TLSALPN string + TLSAllowInsecure string