peluquero v0.99.21 Peluquero.Peluqueria.Chairs View Source
Internally used module to maintain a list of middlewares used to shave
inputs. Peluquero.scissors!/2
calls this module to add the middleware.
Peluquero.blunt!/2
can be used to remove the middleware(s).
Link to this section Summary
Functions
Removes the middleware from the middlewares list
Returns a specification to start this module under a supervisor
Adds a middleware to the middlewares list
Retrieves a list of middlewares
Link to this section Functions
Link to this function
blunt!(name \\ nil, count \\ 0) View Source
Removes the middleware from the middlewares list
Link to this function
child_spec(init_arg) View Source
Returns a specification to start this module under a supervisor.
See Supervisor
.
Link to this function
scissors!(name \\ nil, fun) View Source
Adds a middleware to the middlewares list
Link to this function
scissors?(name \\ nil) View Source
Retrieves a list of middlewares