A collection of middlewares and http utilites. Some are thin wrappers from other mature libraries.
Path | Description |
---|---|
. | Common interfaces/types that middlewares and utilites depend on. (e.g. logger interface/fallback handler type definition) |
router | Thin wrappers of denco router. |
mw | Middleware directory |
mw/logger | Thin wrapper of zerolog |
mw/recover | Catch panic and fallback response |
mw/reftoken | Middleware that translate tokens transparently. Can be used as session. |