Documentation
¶
Overview ¶
Package server assembles the HTTP layer from the modules' route contributions.
Index ¶
- func HTTP(groups registry.Routes, r chi.Router)
- func HealthRoutes(checks registry.HealthChecks) transport.Endpoints
- func NewHTTP(config *conf.Config, router *chi.Mux) *http.Server
- func NewRouter(config *conf.Config, log *slog.Logger, session *sessions.Manager, ...) (*chi.Mux, error)
- func SpecJSON(title string, version Version, validate *validator.Validator, ...) ([]byte, error)
- func WsRoutes() transport.Endpoints
- type Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HealthRoutes ¶
func HealthRoutes(checks registry.HealthChecks) transport.Endpoints
HealthRoutes serves the probes; they stay out of the OpenAPI docs.
Types ¶
Click to show internal directories.
Click to hide internal directories.