MCPcopy Create free account
hub / github.com/code-scan/Goal / New

Function New

Ghttp/http.go:67–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65 //log.Println("init http")
66}
67func New() *Http {
68 c := Http{}
69 c.HttpTransport = &transport
70 return &c
71}
72
73// 新建一个请求
74func (h *Http) New(method, urls string) *Http {

Callers 5

TestPstFunction · 0.92
TestManyReqFunction · 0.92
TestNewReqFunction · 0.92
GetFunction · 0.85
PostFunction · 0.85

Calls

no outgoing calls

Tested by 3

TestPstFunction · 0.74
TestManyReqFunction · 0.74
TestNewReqFunction · 0.74