Documentation
¶
Index ¶
- Variables
- func B64StrToByte(str string) ([]byte, error)
- func ByteToB64Str(b []byte) string
- func FillOutJson(i *model.Inbound, hostname string) error
- func GetHeaders(client *model.Client, updateInterval int) []string
- func GetOutbound(uri string, i int) (*map[string]interface{}, string, error)
- func LinkGenerator(clientConfig json.RawMessage, i *model.Inbound, hostname string) []string
- func StrOrBase64Encoded(str string) string
Constants ¶
This section is empty.
Variables ¶
View Source
var InboundTypeWithLink = []string{"socks", "http", "mixed", "shadowsocks", "naive", "hysteria", "hysteria2", "anytls", "tuic", "vless", "trojan", "vmess"}
Functions ¶
func B64StrToByte ¶
func ByteToB64Str ¶
func FillOutJson ¶
Fill Inbound's out_json
func LinkGenerator ¶
func StrOrBase64Encoded ¶
Function to return decoded bytes if a string is Base64 encoded
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.