View Source trails_handler behaviour (trails v2.3.1)
trails/0 which must be implemented by the different cowboy handlers in your project.
Link to this section Summary
Functions
Returns the cowboy routes defined in the called module.
Link to this section Callbacks
-callback trails() -> trails:trails().
-callback trails(Opts :: map()) -> trails:trails().
Link to this section Functions
-spec trails(module() | {module(), map()}) -> trails:trails().