Directories
¶
| Path | Synopsis |
|---|---|
|
Package cmd wires up the service's CLI commands.
|
Package cmd wires up the service's CLI commands. |
|
Package config defines the configuration model for the web service.
|
Package config defines the configuration model for the web service. |
|
Package health configures and exposes health and liveness/readiness endpoints.
|
Package health configures and exposes health and liveness/readiness endpoints. |
|
Package site wires the HTTP site (routes, views, and embedded assets).
|
Package site wires the HTTP site (routes, views, and embedded assets). |
|
books
Package books wires the "books" site feature.
|
Package books wires the "books" site feature. |
|
books/controller
Package controller defines MVC controllers for the books feature.
|
Package controller defines MVC controllers for the books feature. |
|
books/model
Package model defines the data structures used by the books feature.
|
Package model defines the data structures used by the books feature. |
|
books/repository
Package repository provides access to the books data used by the site.
|
Package repository provides access to the books data used by the site. |
|
books/route
Package route registers HTTP routes for the books feature.
|
Package route registers HTTP routes for the books feature. |
|
books/view
Package view provides view constructors for the books feature.
|
Package view provides view constructors for the books feature. |
|
errors
Package errors wires the site's error feature.
|
Package errors wires the site's error feature. |
|
errors/controller
Package controller defines MVC controllers for the error feature.
|
Package controller defines MVC controllers for the error feature. |
|
errors/model
Package model defines view models for the error feature.
|
Package model defines view models for the error feature. |
|
errors/route
Package route registers the global not-found handler for the error feature.
|
Package route registers the global not-found handler for the error feature. |
|
errors/view
Package view defines MVC views for the error feature.
|
Package view defines MVC views for the error feature. |
|
favicon
Package favicon registers the site's browser icon endpoint.
|
Package favicon registers the site's browser icon endpoint. |
|
meta
Package meta provides shared, cross-cutting metadata used by site view models.
|
Package meta provides shared, cross-cutting metadata used by site view models. |
|
robots
Package robots registers the robots.txt endpoint for the site.
|
Package robots registers the robots.txt endpoint for the site. |
|
root
Package root wires the site's root (home) feature.
|
Package root wires the site's root (home) feature. |
|
root/controller
Package controller defines MVC controllers for the root (home) feature.
|
Package controller defines MVC controllers for the root (home) feature. |
|
root/model
Package model defines the data structures used by the root (home) feature.
|
Package model defines the data structures used by the root (home) feature. |
|
root/route
Package route registers HTTP routes for the root (home) feature.
|
Package route registers HTTP routes for the root (home) feature. |
|
root/view
Package view provides view constructors for the root (home) feature.
|
Package view provides view constructors for the root (home) feature. |
|
security
Package security provides browser security headers for the site.
|
Package security provides browser security headers for the site. |
|
sitemap
Package sitemap registers the site's sitemap.xml endpoint.
|
Package sitemap registers the site's sitemap.xml endpoint. |
|
static
Package static registers embedded static assets with the site's public, one-hour cache policy.
|
Package static registers embedded static assets with the site's public, one-hour cache policy. |
Click to show internal directories.
Click to hide internal directories.