MCPcopy Create free account
hub / github.com/dave/blast / New

Function New

httpworker/httpworker.go:20–22  ·  view source on GitHub ↗

New returns a new http worker

()

Source from the content-addressed store, hash-verified

18
19// New returns a new http worker
20func New() blaster.Worker {
21 return &Worker{}
22}
23
24// Worker is the worker type
25type Worker struct{}

Callers 9

TestSendFunction · 0.70
TestPostFunction · 0.70
TestHeadersFunction · 0.70
TestErrorFunction · 0.70
TestErrorDecodingPayloadFunction · 0.70
TestErrorCreatingRequestFunction · 0.70
TestUrlErrorFunction · 0.70
TestErrorTimeoutFunction · 0.70
TestErrorCancelFunction · 0.70

Calls

no outgoing calls

Tested by 9

TestSendFunction · 0.56
TestPostFunction · 0.56
TestHeadersFunction · 0.56
TestErrorFunction · 0.56
TestErrorDecodingPayloadFunction · 0.56
TestErrorCreatingRequestFunction · 0.56
TestUrlErrorFunction · 0.56
TestErrorTimeoutFunction · 0.56
TestErrorCancelFunction · 0.56