package
0.0.0-20220228055417-80fcaa9d72f4
Repository: https://github.com/jinares/xpkg.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DoHandler 返回JSON数据.
No description provided by the author
No description provided by the author
GetALLParams 获取所有请求参数.
No description provided by the author
GetQueryPar 获取所有请求参数.
GinContext get context.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
func PostFormPar(c *gin.Context) map[string]string { 获取所有请求参数.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RealIP X-Real-Ip.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
application/javascript.
No description provided by the author
application/x-www-form-urlencoded.
application/xml.
text/html;text/plain; charset=utf-8.
No description provided by the author
User-Agent.
# Variables
DefaultTransport http keepalive 30s var tp http.RoundTripper.
var DefaultTransport = &http.Transport{ Proxy: http.ProxyFromEnvironment, DialContext: (&net.Dialer{ Timeout: 30 * time.Second, KeepAlive: 30 * time.Second, DualStack: true, }).DialContext, ForceAttemptHTTP2: true, MaxIdleConns: 100, IdleConnTimeout: 90 * time.Second, TLSHandshakeTimeout: 10 * time.Second, ExpectContinueTimeout: 1 * time.Second,}.
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author