Documentation ¶
Index ¶
Constants ¶
View Source
const ( ProtoHttp = "http://" ProtoHttps = "https://" )
Variables ¶
View Source
var (
ErrNoMethod = errors.New("no method")
)
Functions ¶
func OttoValue2HttpReq ¶
{ "Method": "GET", "Host": "www.baidu.com", "Path": "/", "Query": { "type": "movie", }, "Header": { "X-REAL-IP": "192.168.180.56" }, "Body": "" }
Types ¶
type Request ¶
Click to show internal directories.
Click to hide internal directories.