MCPcopy Create free account
hub / github.com/imgproxy/imgproxy / WithShouldReport

Function WithShouldReport

errctx/options.go:27–31  ·  view source on GitHub ↗
(report bool)

Source from the content-addressed store, hash-verified

25}
26
27func WithShouldReport(report bool) Option {
28 return func(ec *ErrorContext) {
29 ec.shouldReport = report
30 }
31}
32
33func WithDocsURL(url string) Option {
34 return func(ec *ErrorContext) {

Callers 15

newRequestErrorFunction · 0.92
newRequestSchemeErrorFunction · 0.92
newPartialResponseErrorFunction · 0.92
newResponseStatusErrorFunction · 0.92
newTooManyRedirectsErrorFunction · 0.92
newRequestCanceledErrorFunction · 0.92
newRequestTimeoutErrorFunction · 0.92
newNotModifiedErrorFunction · 0.92
WrapErrorFunction · 0.92
newSourceAddressErrorFunction · 0.92
newSignatureErrorFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected