代码拉取完成,页面将自动刷新
package cfg
import "time"
// The constants be used by both client and server
var (
FailStatus = 400
SuccessStatus = 200
ContentHTML = "text/html; charset=utf-8"
ContentTypeHeader = "Content-Type"
StatusCodeHeader = "Status"
QueryCacheKey = "cache_key"
QueryCacheDuration = "cache_duration"
QueryCacheStatusCode = "cache_status_code"
QueryCacheContentType = "cache_content_type"
RequestCacheTimeout = 5 * time.Second
)
// NoCacheHeader is the static header key which is setted to the response when NoCache is called,
// used inside nethttp and fhttp Skippers.
var NoCacheHeader = "X-No-Cache"
// MinimumCacheDuration is the minimum duration from time.Now
// which is allowed between cache save and cache clear
var MinimumCacheDuration = 2 * time.Second
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。