protocol

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2026 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToURI

func ToURI(p proxy.Proxy) (string, error)

ToURI converts a proxy to its protocol URI string. Currently supports vless. Returns an error for unsupported protocols.

func ToVLESSURI

func ToVLESSURI(p proxy.Proxy) (string, error)

ToVLESSURI converts a VLESSProxy (as a Proxy interface) to a vless:// URI string. Returns an error if the proxy is not a VLESSProxy or conversion fails.

func VLESSURI

func VLESSURI(p *proxy.VLESSProxy) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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