Versions in this module Expand all Collapse all v0 v0.5.0 Oct 15, 2023 v0.4.0 Oct 6, 2023 Changes in this version + func Base64ToUint8(encoded string) ([]uint8, error) + func ConvertStringSliceToIntSlice(stringSlice []string) ([]int, error) + func GenerateKeyPair() (string, string, error) + func GetEnvSocksAddr() string + func Ints2Base64(ints []int) (string, error) + type HTTPClient interface + Close func() + KeepAlive func() + ModernTLS func() + NewRequest func() HTTPRequest + PinnedSHA256 func(sumHex string) + PinnedTLS12 func() + RestrictedTLS func() + TrySocks5 func(socksAddr string) + func NewHttpClient() HTTPClient + type HTTPRequest interface + Execute func() (HTTPResponse, error) + SetContent func(content []byte) + SetContentString func(content string) + SetHeader func(key string, value string) + SetMethod func(method string) + SetURL func(link string) error + SetUserAgent func(userAgent string) + type HTTPResponse interface + GetContent func() ([]byte, error) + GetContentString func() (string, error) + GetHeader func(string) string + WriteTo func(path string) error