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 HttpSpeedViaProxy(clashProxy C.Proxy, url string, t time.Duration) (int64, float64, string, 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
- type CountryEmoji
- type EmojiMap
- 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 HttpSpeedViaProxy ¶ added in v0.0.2
func IsLocalFile ¶
func SafeAsBool ¶
func SafeAsString ¶
Types ¶
type CountryEmoji ¶ added in v0.1.0
type EmojiMap ¶ added in v0.1.0
func InitEmojiData ¶ added in v0.1.0
func InitEmojiData() EmojiMap
type HttpClient ¶
func GetHttpClient ¶
func GetHttpClient() *HttpClient
Click to show internal directories.
Click to hide internal directories.