Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActionName ¶
ActionName registers a logjam action name for the given mux route. Requires a logjam compatible action name of the form (Module::)*Controller#action.
func PrintRoutes ¶
PrintRoutes prints the routes and their logjam action names.
func SetupRoutes ¶
SetupRoutes traverses all routes of the given router and replaces handlers which have no logjam action name attached yet with a new handler that uses an action name derived from the path template. It must be called after all routes have been set up on the router.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.