MCPcopy
hub / github.com/gofiber/fiber / Do

Method Do

client/core_test.go:492–497  ·  view source on GitHub ↗
(_ *fasthttp.Request, _ *fasthttp.Response)

Source from the content-addressed store, hash-verified

490}
491
492func (b *blockingErrTransport) Do(_ *fasthttp.Request, _ *fasthttp.Response) error {
493 b.calledOnce.Do(func() { close(b.called) })
494 <-b.unblock
495 b.finishedOnce.Do(func() { close(b.finished) })
496 return b.err
497}
498
499func (b *blockingErrTransport) DoTimeout(req *fasthttp.Request, resp *fasthttp.Response, _ time.Duration) error {
500 return b.Do(req, resp)

Callers 3

DoTimeoutMethod · 0.95
DoDeadlineMethod · 0.95
DoRedirectsMethod · 0.95

Calls 1

DoMethod · 0.65

Tested by

no test coverage detected