View Source Camarero.Catering.Routes (camarero v0.13.3)
Internal state for all the routes known to this application
Link to this section Summary
Functions
Internally stored map of routes to handlers
Retrieves the handler for the route specified
Stores a handler for the route specified
Starts an agent linked to the current process
Returns the whole mapping of routes to handlers
Link to this section Types
Specs
t() :: map()
Link to this section Functions
Internally stored map of routes to handlers
Specs
Retrieves the handler for the route specified
Specs
Stores a handler for the route specified
Specs
Starts an agent linked to the current process
Specs
state() :: map()
Returns the whole mapping of routes to handlers