Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
reindex
command
Command reindex scans the PhotoVault data directory and rebuilds the PostgreSQL metadata index directly from files on disk.
|
Command reindex scans the PhotoVault data directory and rebuilds the PostgreSQL metadata index directly from files on disk. |
|
server
command
Command server starts the PhotoVault Nextcloud-compatible raw photo and video backup server along with its built-in web gallery dashboard.
|
Command server starts the PhotoVault Nextcloud-compatible raw photo and video backup server along with its built-in web gallery dashboard. |
|
verify
command
Command verify scans the PhotoVault data directory, recomputes SHA-256 checksums, and compares them against the PostgreSQL index to detect corrupted, bit-rotted, or missing files.
|
Command verify scans the PhotoVault data directory, recomputes SHA-256 checksums, and compares them against the PostgreSQL index to detect corrupted, bit-rotted, or missing files. |
|
internal
|
|
|
auth
Package auth provides cryptographic token generation and WebDAV authentication.
|
Package auth provides cryptographic token generation and WebDAV authentication. |
|
compat
Package compat implements the Nextcloud-compatible discovery, OCS, and Login Flow v2 handshake endpoints required by official Nextcloud mobile apps.
|
Package compat implements the Nextcloud-compatible discovery, OCS, and Login Flow v2 handshake endpoints required by official Nextcloud mobile apps. |
|
config
Package config loads runtime configuration from a .env file and OS environment variables using only the Go standard library.
|
Package config loads runtime configuration from a .env file and OS environment variables using only the Go standard library. |
|
dashboard
Package dashboard serves the web UI for browsing backed-up photos: thumbnails + date filtering.
|
Package dashboard serves the web UI for browsing backed-up photos: thumbnails + date filtering. |
|
httpx
Package httpx provides shared HTTP middleware and JSON/OCS response helpers.
|
Package httpx provides shared HTTP middleware and JSON/OCS response helpers. |
|
integrity
Package integrity implements PhotoVault's data protection workflows (ARCHITECTURE.md §7):
|
Package integrity implements PhotoVault's data protection workflows (ARCHITECTURE.md §7): |
|
server
Package server wires up the HTTP router and manages server lifecycle.
|
Package server wires up the HTTP router and manages server lifecycle. |
|
storage
Package storage writes raw photos and videos to disk with two core integrity guarantees (ARCHITECTURE.md §7):
|
Package storage writes raw photos and videos to disk with two core integrity guarantees (ARCHITECTURE.md §7): |
|
store
Package store manages the PostgreSQL metadata index and Redis token/cache store.
|
Package store manages the PostgreSQL metadata index and Redis token/cache store. |
|
webdav
Package webdav implements the WebDAV subset required for Nextcloud auto-upload: PROPFIND, MKCOL, PUT, MOVE, DELETE under /remote.php/dav/files/<user>/...
|
Package webdav implements the WebDAV subset required for Nextcloud auto-upload: PROPFIND, MKCOL, PUT, MOVE, DELETE under /remote.php/dav/files/<user>/... |
Click to show internal directories.
Click to hide internal directories.