convert

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertsV2Ray

func ConvertsV2Ray(buf []byte) ([]map[string]any, error)

ConvertsV2Ray convert V2Ray subscribe proxies data to clash proxies config

func DecodeBase64

func DecodeBase64(buf []byte) []byte

DecodeBase64 try to decode content from the given bytes, which can be in base64.RawStdEncoding, base64.StdEncoding or just plaintext.

func RandHost

func RandHost() string

func RandUserAgent

func RandUserAgent() string

func SetUserAgent

func SetUserAgent(header http.Header)

func VerifyMethod

func VerifyMethod(cipher, password string) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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