1
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-23 22:27:38 -05:00
caddy/modules/caddyhttp/encode
Matthew Holt c9980fd367
Refactor Caddyfile adapter and module registration
Use piles from which to draw config values.

Module values can return their name, so now we can do two-way mapping
from value to name and name to value; whereas before we could only map
name to value. This was problematic with the Caddyfile adapter since
it receives values and needs to know the name to put in the config.
2019-08-21 10:46:35 -06:00
..
brotli Refactor Caddyfile adapter and module registration 2019-08-21 10:46:35 -06:00
gzip Refactor Caddyfile adapter and module registration 2019-08-21 10:46:35 -06:00
zstd Refactor Caddyfile adapter and module registration 2019-08-21 10:46:35 -06:00
caddyfile.go Refactor Caddyfile adapter and module registration 2019-08-21 10:46:35 -06:00
encode.go Refactor Caddyfile adapter and module registration 2019-08-21 10:46:35 -06:00
encode_test.go Part 1: Optimize using compiler's inliner (#2687) 2019-08-07 23:59:02 -06:00