Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultStringMap = make(map[string]string)
View Source
var Limit *sync.Limit
var httpsync = make(chan bool, 20)
Functions ¶
func SetTimeout ¶
func SetTimeout(millisecond int64)
Types ¶
type Params ¶
type Params struct {
Param map[string]string
Header map[string]string
Bodyparma map[string]string
BodyJson map[string]string
}
map组合 {别名:参数名}
type Req ¶
type Req struct {
Method string `json:"Method"`
ParamsMap map[string]string `json:"ParamsMap"`
HeaderMap map[string]string `json:"ReqHeaderMap"`
Body string `json:"Body"`
Error error `json:"Error"`
Code int `json:"Code"`
URL string `json:"URL"`
// contains filtered or unexported fields
}
func (*Req) Handleinfo ¶
func (h *Req) Handleinfo()
Click to show internal directories.
Click to hide internal directories.