Documentation
¶
Index ¶
- func AllAsMiddleware(ms ...any) []any
- func AllAsRoute(fs ...any) []any
- func AsMiddleware(f any) any
- func AsRoute(f any) any
- func NewHTTPRouter(middlewares []Middleware, routes []Route, lc fx.Lifecycle, logger *zap.Logger) *mux.Router
- func NewHTTPServer(lc fx.Lifecycle, logger *zap.Logger, c *conf.Config, r *mux.Router) *http.Server
- type Middleware
- type Route
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllAsMiddleware ¶
func AllAsRoute ¶
func AsMiddleware ¶
func AsRoute ¶
AsRoute annotates the given constructor to state that it provides a route to the "handlers" group.
func NewHTTPRouter ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.