Documentation
¶
Overview ¶
Package handlers manages the different versions of the API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func APIMux ¶
func APIMux(cfg APIMuxConfig) http.Handler
APIMux constructs a http.Handler with all application routes defined.
Types ¶
type APIMuxConfig ¶
type APIMuxConfig struct {
Shutdown chan os.Signal
Log *zap.SugaredLogger
DB *bun.DB
Tracer trace.Tracer
}
APIMuxConfig contains all the mandatory systems required by handlers.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package v1 contains the full set of handler functions and routes supported by the v1 web api.
|
Package v1 contains the full set of handler functions and routes supported by the v1 web api. |
|
categorygrp
Package categorygrp maintains the group of handlers for category access.
|
Package categorygrp maintains the group of handlers for category access. |
Click to show internal directories.
Click to hide internal directories.