Documentation
¶
Index ¶
Constants ¶
View Source
const ( HeaderContentType = "Content-Type" HeaderUserAgent = "User-Agent" HeaderAppkey = "Appkey" HeaderTimestamp = "Timestamp" HeaderSign = "Sign" HeaderNonce = "Nonce" HeaderAcceptLanguage = "Accept-Language" HeaderHttpTimeout = "X-Request-Timeout" HeaderHttpTraceId = "X-Trace-Id" DefaultContentTypeJson = "application/json;charset=utf-8" DefaultUserAgentVal = "waterdrop" DefaultLocale = "zh-CN" DefaultRequestTimeout = 10 DefaultNonceLen = 16 DefaultSecretURL = "/api/app/secret" DefaultSkipsURL = "/api/app/skips" DefaultAppkeyLen = 16 DefaultMaxBytes = 1 << 20 // 1 MiB )
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.