HandlerContext provides access to shared handler dependencies nolint:interfacebloat
| 25 | // |
| 26 | //nolint:interfacebloat |
| 27 | type 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 |
| 42 | type Handler struct { |
no outgoing calls
no test coverage detected