Directories
¶
| Path | Synopsis |
|---|---|
|
Package adapter contains the media bounded context's outbound adapters: PhotoRepository (Postgres), LocalPhotoStore and S3PhotoStore (the two domain.PhotoStore implementations), StoreResolver, and the shared upload-validation/EXIF helpers every PhotoStore backend uses.
|
Package adapter contains the media bounded context's outbound adapters: PhotoRepository (Postgres), LocalPhotoStore and S3PhotoStore (the two domain.PhotoStore implementations), StoreResolver, and the shared upload-validation/EXIF helpers every PhotoStore backend uses. |
|
Package app implements the media bounded context's shared use cases: PhotoService (upload/delete/list/serve, generic over a caller-chosen PhotoClass) and ReaperService (reclaiming orphaned object-store bytes, generic over a caller-supplied set of PhotoClass sources).
|
Package app implements the media bounded context's shared use cases: PhotoService (upload/delete/list/serve, generic over a caller-chosen PhotoClass) and ReaperService (reclaiming orphaned object-store bytes, generic over a caller-supplied set of PhotoClass sources). |
|
Package bootstrap builds the media bounded context's composition-root-only dependency: the PhotoStore resolver/write-backend pair every application consuming media/domain.PhotoStoreResolver needs, constructed identically from one plain ResolverConfig rather than each application maintaining its own copy of the local/S3 selection logic.
|
Package bootstrap builds the media bounded context's composition-root-only dependency: the PhotoStore resolver/write-backend pair every application consuming media/domain.PhotoStoreResolver needs, constructed identically from one plain ResolverConfig rather than each application maintaining its own copy of the local/S3 selection logic. |
|
Package domain holds the media bounded context's entities, value objects, and ports: Photo, PhotoClass, StorageBackend, and the PhotoStore/ PhotoRepository/ObjectLister/ExifReader ports adapters implement.
|
Package domain holds the media bounded context's entities, value objects, and ports: Photo, PhotoClass, StorageBackend, and the PhotoStore/ PhotoRepository/ObjectLister/ExifReader ports adapters implement. |
Click to show internal directories.
Click to hide internal directories.