Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllMiddlewares ¶
GetAllMiddlewares returns a list of middlewares (respecting order) in cases where the order was explicit. When there was no explicit order given, e.g. different Register functions, order is undetermined TODO: provide dependency management and expose something depgraph-like here because this will eventually be needed for sure
func Register ¶
Register takes a name and a list of function handlers and registers them as middleware functions that can be applied to the router or whatever system that's being used for routing Since these functions are registered ad-hoc, if there's a strict dependency between functions, they should be passed in with one Register function
Types ¶
This section is empty.