Skip to main content

Module validate

Module validate 

Source
Expand description

Static checks for the proxy sections of rws.config.toml, used by rws --check and printed at startup. The parser itself is lenient — a typo’d key just leaves a default in place — so this is where a route that points at a missing upstream, an auth secret that isn’t set, or a key the parser never reads gets reported.

Functions§

check_unknown_keys
Report keys and tables in the proxy sections that the parser ignores.