From e088638a70d9b12c8ab8e7296e7d29fd81d51f52 Mon Sep 17 00:00:00 2001 From: Alan Colant Date: Fri, 3 May 2024 17:29:53 +0200 Subject: [PATCH] add caddy doc --- module.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module.go b/module.go index 870d647..f78e39f 100644 --- a/module.go +++ b/module.go @@ -22,6 +22,8 @@ func init() { httpcaddyfile.RegisterDirectiveOrder("image_processor", "before", "respond") } +// Middleware allow user to do image processing on the fly using libvips +// With simple queries parameters you can resize, convert, crop your served images type Middleware struct { logger *zap.Logger }