Versions in this module Expand all Collapse all v0 v0.1.0 Sep 7, 2022 Changes in this version + var Log = LeveledLog + var ValidKeyHex20 = regexp.MustCompile(`^[a-f0-9]{20}$`) + var ValidKeyHex32 = regexp.MustCompile(`^[a-f0-9]{32}$`) + var ValidKeyHex64 = regexp.MustCompile(`^[a-f0-9]{64}$`) + var ValidTOTP = regexp.MustCompile(`^[0-9]{6}$`) + func HTTPTransportConfig(proxy string, cert string, insecureSkipVerify bool) *http.Transport + type Config struct + BaseURL string + Cert string + InsecureSkipVerify bool + Proxy string + type LeveledLog struct + LevelFilter *logutils.LevelFilter + Logger *log.Logger + type Request struct + BaseURL string + HTTPClient *retryablehttp.Client + HTTPHeaders http.Header + func RequestDefaults() Request + type Response struct + Body []byte + Resp *http.Response