MCPcopy Index your code
hub / github.com/bracesdev/errtrace / rateLimitDialer

Function rateLimitDialer

example_http_test.go:67–70  ·  view source on GitHub ↗
(network, addr string)

Source from the content-addressed store, hash-verified

65}
66
67func rateLimitDialer(network, addr string) (net.Conn, error) {
68 // for testing, always return an error.
69 return nil, errtrace.New("connect rate limited")
70}

Callers

nothing calls this directly

Calls 1

NewFunction · 0.92

Tested by

no test coverage detected