Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
api
command
|
|
|
internal
|
|
|
airports
Package airports keeps an in-memory database of the world's airports, merged from two upstream datasets and refreshed on a timer.
|
Package airports keeps an in-memory database of the world's airports, merged from two upstream datasets and refreshed on a timer. |
|
api/generated
Package generated contains auto-generated code from the OpenAPI specification.
|
Package generated contains auto-generated code from the OpenAPI specification. |
|
flightsearch
Package flightsearch implements the flight logbook search query language.
|
Package flightsearch implements the flight logbook search query language. |
|
logging
Package logging configures application-wide structured logging.
|
Package logging configures application-wide structured logging. |
|
service/cloudbackup
Package cloudbackup is the user-facing service for cloud backup destinations.
|
Package cloudbackup is the user-facing service for cloud backup destinations. |
|
service/cloudbackup/netguard
Package netguard restricts the network destinations the cloud-backup subsystem is allowed to connect to (SSRF mitigation).
|
Package netguard restricts the network destinations the cloud-backup subsystem is allowed to connect to (SSRF mitigation). |
|
service/cloudbackup/provider
Package provider defines the contract every cloud backup provider plugin must satisfy.
|
Package provider defines the contract every cloud backup provider plugin must satisfy. |
|
service/cloudbackup/provider/s3
Package s3 implements the cloud backup provider contract against Amazon S3 and S3-compatible object stores (MinIO, Backblaze B2, Cloudflare R2, Wasabi, etc.) using the minio-go client.
|
Package s3 implements the cloud backup provider contract against Amazon S3 and S3-compatible object stores (MinIO, Backblaze B2, Cloudflare R2, Wasabi, etc.) using the minio-go client. |
|
service/cloudbackup/provider/sftp
Package sftp implements the cloud backup provider contract against any SSH server with SFTP enabled (OpenSSH, Dropbear, atmoz/sftp, hosting providers offering SFTP-only accounts, etc.) using golang.org/x/crypto/ssh and github.com/pkg/sftp.
|
Package sftp implements the cloud backup provider contract against any SSH server with SFTP enabled (OpenSSH, Dropbear, atmoz/sftp, hosting providers offering SFTP-only accounts, etc.) using golang.org/x/crypto/ssh and github.com/pkg/sftp. |
|
service/cloudbackup/provider/webdav
Package webdav implements the cloud backup provider contract against any RFC 4918 compliant WebDAV server (Nextcloud, ownCloud, mailbox.org, Box, Apache mod_dav, …) using the studio-b12/gowebdav client.
|
Package webdav implements the cloud backup provider contract against any RFC 4918 compliant WebDAV server (Nextcloud, ownCloud, mailbox.org, Box, Apache mod_dav, …) using the studio-b12/gowebdav client. |
|
service/flightrules
Package flightrules is the single source of truth for "who/what counts as PIC, Dual, FI, Night, IFR, MP/SP …" across the codebase.
|
Package flightrules is the single source of truth for "who/what counts as PIC, Dual, FI, Night, IFR, MP/SP …" across the codebase. |
|
service/importtemplate
Package importtemplate holds the catalogue of known pilot-logbook export formats and the logic that recognises one from a file's header row.
|
Package importtemplate holds the catalogue of known pilot-logbook export formats and the logic that recognises one from a file's header row. |
|
updatecheck
Package updatecheck reports whether a newer NinerLog build has been published.
|
Package updatecheck reports whether a newer NinerLog build has been published. |
|
pkg
|
|
|
cryptoutil
Package cryptoutil provides symmetric encryption for per-user secrets at rest: AES-256-GCM with a 96-bit random nonce, ciphertext and nonce returned as separate byte slices, 32-byte keys decoded from base64.
|
Package cryptoutil provides symmetric encryption for per-user secrets at rest: AES-256-GCM with a 96-bit random nonce, ciphertext and nonce returned as separate byte slices, 32-byte keys decoded from base64. |
|
duration
Package duration provides helpers for converting between flight time representations.
|
Package duration provides helpers for converting between flight time representations. |
|
registration
Package registration normalises aircraft registrations to the canonical notation of their state of registry, looked up in the nationality mark table in prefixes.go.
|
Package registration normalises aircraft registrations to the canonical notation of their state of registry, looked up in the nationality mark table in prefixes.go. |
|
solar
Package solar provides a thin wrapper around github.com/mstephenholl/go-solar for computing sunrise/sunset and determining whether a given UTC instant is during daytime or nighttime.
|
Package solar provides a thin wrapper around github.com/mstephenholl/go-solar for computing sunrise/sunset and determining whether a given UTC instant is during daytime or nighttime. |
Click to show internal directories.
Click to hide internal directories.