Packages

A focused, type-safe HTTP router for Gleam on BEAM — declarative routing, typed path params, middleware, wildcards, reverse routing, and testing helpers.

Current section

Files

Jump to
radiant include radiant_Param.hrl
Raw

include/radiant_Param.hrl

-record(param, {
name :: binary(),
parse :: fun((binary()) -> {ok, any()} | {error, nil}),
ptype :: radiant@internal@path:param_type(),
to_string :: fun((any()) -> binary())
}).