Directories
¶
| Path | Synopsis |
|---|---|
|
Package api is the HTTP layer: routing and handlers.
|
Package api is the HTTP layer: routing and handlers. |
|
Package config loads runtime configuration from the environment (12-factor).
|
Package config loads runtime configuration from the environment (12-factor). |
|
Package files is the service / use-case layer.
|
Package files is the service / use-case layer. |
|
Package gc reconciles the object store against the metadata table.
|
Package gc reconciles the object store against the metadata table. |
|
Package metadata is the persistence seam for file records.
|
Package metadata is the persistence seam for file records. |
|
postgres
Package postgres is the pgx implementation of metadata.Repository.
|
Package postgres is the pgx implementation of metadata.Repository. |
|
Package metrics owns the Prometheus instrumentation: the metric definitions and the /metrics exposition handler.
|
Package metrics owns the Prometheus instrumentation: the metric definitions and the /metrics exposition handler. |
|
Package storage defines the object-store seam.
|
Package storage defines the object-store seam. |
|
memory
Package memory is an in-memory storage.Backend used as a test double.
|
Package memory is an in-memory storage.Backend used as a test double. |
|
s3
Package s3 is the minio-go implementation of storage.Backend.
|
Package s3 is the minio-go implementation of storage.Backend. |
Click to show internal directories.
Click to hide internal directories.