MCPcopy Index your code
hub / github.com/code-scan/Goal / Byte

Method Byte

Ghttp/response.go:128–138  ·  view source on GitHub ↗

byte的返回值

()

Source from the content-addressed store, hash-verified

126
127// byte的返回值
128func (h *Http) Byte() ([]byte, error) {
129 defer func() {
130 if r := recover(); r != nil {
131 log.Println("Recovered in Byte : ", r)
132 }
133 }()
134 if h.err != nil {
135 return nil, h.err
136 }
137 return h.readAll()
138}
139func (h *Http) SaveToFile(file string) (bool, error) {
140 var err error
141 defer func() {

Callers 15

TestHttpFunction · 0.95
IPinfoFunction · 0.95
GetFunction · 0.80
PostFunction · 0.80
GetResultMethod · 0.80
sendMethod · 0.80
GetResultMethod · 0.80
BeianXCNMethod · 0.80
httpReqMethod · 0.80
GetResultMethod · 0.80
sendMethod · 0.80
sendMethod · 0.80

Calls 1

readAllMethod · 0.95

Tested by 1

TestHttpFunction · 0.76