Documentation
¶
Index ¶
- Constants
- func Base64DecodeByte(s string) ([]byte, error)
- func Base64DecodeString(s string) (string, error)
- func Base64EncodeString(str string) string
- func Contains(arr []string, key string) bool
- func GetFileFullPath(path string) string
- func GetUrlArg(args string, key string) string
- func HttpGetViaProxy(clashProxy C.Proxy, url string, t time.Duration) ([]byte, error)
- func IsLocalFile(path string) bool
- func ReadFile(path string) ([]byte, error)
- func SafeAsBool(m map[string]interface{}, keys ...string) bool
- func SafeAsString(m map[string]interface{}, keys ...string) string
- func UnicodeEmojiDecode(s string) string
- type HttpClient
Constants ¶
View Source
const UserAgent = "" /* 129-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func Base64DecodeByte ¶
func Base64DecodeString ¶
func Base64EncodeString ¶
func GetFileFullPath ¶
func HttpGetViaProxy ¶
func IsLocalFile ¶
func SafeAsBool ¶
func SafeAsString ¶
func UnicodeEmojiDecode ¶
Types ¶
type HttpClient ¶
func GetHttpClient ¶
func GetHttpClient() *HttpClient
Click to show internal directories.
Click to hide internal directories.