Documentation
¶
Index ¶
- func BeepassSingbox(beepassUrl string) (*T.Outbound, error)
- func CheckUrlAndJson(url string, expectedJSON string, t *testing.T)
- func DirectSingbox(url string) (*T.Outbound, error)
- func DirectXray(vlessURL string) (*T.Outbound, error)
- func GenerateConfigLite(input string, useXrayWhenPossible bool) (string, error)
- func HttpSingbox(url string) (*T.Outbound, error)
- func HttpsSingbox(url string) (*T.Outbound, error)
- func Hysteria2Singbox(hysteria2Url string) (*T.Outbound, error)
- func HysteriaSingbox(hysteriaURL string) (*T.Outbound, error)
- func ParseTurnURL(turnURL string) (*T.TurnRelayOptions, error)
- func Ray2Singbox(configs string, useXrayWhenPossible bool) (out string, err error)
- func SSHSingbox(sshURL string) (*T.Outbound, error)
- func ShadowsocksSingbox(shadowsocksUrl string) (*T.Outbound, error)
- func SocksSingbox(url string) (*T.Outbound, error)
- func TrojanSingbox(trojanURL string) (*T.Outbound, error)
- func TrojanXray(vlessURL string) (*T.Outbound, error)
- func TuicSingbox(tuicUrl string) (*T.Outbound, error)
- func VlessSingbox(vlessURL string) (*T.Outbound, error)
- func VlessXray(vlessURL string) (*T.Outbound, error)
- func VmessSingbox(vmessURL string) (*T.Outbound, error)
- func VmessXray(vmessURL string) (*T.Outbound, error)
- func WarpSingbox(url string) (*T.Outbound, error)
- func WiregaurdSingbox(url string) (*T.Outbound, error)
- type ParserFunc
- type UrlSchema
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateConfigLite ¶
func ParseTurnURL ¶
func ParseTurnURL(turnURL string) (*T.TurnRelayOptions, error)
func Ray2Singbox ¶
Types ¶
type UrlSchema ¶
type UrlSchema struct { Scheme string Username string Password string Hostname string Port uint16 Name string Params map[string]string }
HysteriaURLData holds the parsed data from a Hysteria URL.
func (UrlSchema) GetRelayOptions ¶
func (u UrlSchema) GetRelayOptions() (*T.TurnRelayOptions, error)
func (UrlSchema) GetServerOption ¶
func (u UrlSchema) GetServerOption() T.ServerOptions
Source Files
¶
Click to show internal directories.
Click to hide internal directories.