Directories
¶
| Path | Synopsis |
|---|---|
|
Package config reads all server configuration from environment variables.
|
Package config reads all server configuration from environment variables. |
|
Package handler holds the HTTP handlers — thin glue between the router and the service / template layers.
|
Package handler holds the HTTP handlers — thin glue between the router and the service / template layers. |
|
Package i18n implements server-side localization for Mock API.
|
Package i18n implements server-side localization for Mock API. |
|
Package middleware holds HTTP middlewares specific to this app.
|
Package middleware holds HTTP middlewares specific to this app. |
|
Package model holds the plain Go structures that flow between layers.
|
Package model holds the plain Go structures that flow between layers. |
|
Package repository contains thin SQL/Redis adapters.
|
Package repository contains thin SQL/Redis adapters. |
|
Package service holds the business logic between handlers and storage.
|
Package service holds the business logic between handlers and storage. |
|
Package sse is the in-process pub/sub used by the request-inspector Server-Sent Events stream.
|
Package sse is the in-process pub/sub used by the request-inspector Server-Sent Events stream. |
Click to show internal directories.
Click to hide internal directories.