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

Function WithDocsURL

errctx/options.go:33–37  ·  view source on GitHub ↗
(url string)

Source from the content-addressed store, hash-verified

31}
32
33func WithDocsURL(url string) Option {
34 return func(ec *ErrorContext) {
35 ec.docsUrl = url
36 }
37}

Callers 14

newRequestSchemeErrorFunction · 0.92
newSignatureErrorFunction · 0.92
newImageResolutionErrorFunction · 0.92
newSourceURLErrorFunction · 0.92
TestSpecialFieldsMethod · 0.92
TestSpecialFieldsMethod · 0.92
TestSpecialFieldsMethod · 0.92
newInvalidURLErrorFunction · 0.92
newUnknownOptionErrorFunction · 0.92
newForbiddenOptionErrorFunction · 0.92
newOptionArgumentErrorFunction · 0.92

Calls

no outgoing calls

Tested by 3

TestSpecialFieldsMethod · 0.74
TestSpecialFieldsMethod · 0.74
TestSpecialFieldsMethod · 0.74