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

Interface HandlerContext

handlers/processing/handler.go:27–39  ·  view source on GitHub ↗

HandlerContext provides access to shared handler dependencies nolint:interfacebloat

Source from the content-addressed store, hash-verified

25//
26//nolint:interfacebloat
27type HandlerContext interface {
28 Workers() *workers.Workers
29 ClientFeaturesDetector() *clientfeatures.Detector
30 FallbackImage() auximageprovider.Provider
31 ImageDataFactory() *imagedata.Factory
32 Security() *security.Checker
33 OptionsParser() *optionsparser.Parser
34 Processor() *processing.Processor
35 Cookies() *cookies.Cookies
36 Monitoring() *monitoring.Monitoring
37 ErrorReporter() *errorreport.Reporter
38 ConditionalHeaders() *conditionalheaders.Factory
39}
40
41// Handler handles image processing requests
42type Handler struct {

Callers 25

acquireWorkerMethod · 0.65
newRequestMethod · 0.65
respondWithImageMethod · 0.65
getFallbackImageMethod · 0.65
fetchImageMethod · 0.65
processImageMethod · 0.65
newRequestMethod · 0.65
makeDownloadOptionsMethod · 0.65
newRequestMethod · 0.65
processImageMethod · 0.65
BuildRequestMethod · 0.65

Implementers 1

Imgproxyimgproxy.go

Calls

no outgoing calls

Tested by

no test coverage detected