internal/

directory
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2026 License: MIT

Directories

Path Synopsis
Package cachelite provides an SQLite-backed HTTP response cache with middleware, optional asynchronous write batching, and pooled HTTPCacheEntry to reduce allocations.
Package cachelite provides an SQLite-backed HTTP response cache with middleware, optional asynchronous write batching, and pooled HTTPCacheEntry to reduce allocations.
Package coords provides functions for parsing latitude and longitude coordinates in various string formats.
Package coords provides functions for parsing latitude and longitude coordinates in various string formats.
Package dbconnpool provides a connection pool for SQLite databases using database/sql.
Package dbconnpool provides a connection pool for SQLite databases using database/sql.
Package dque is a fast, embedded, type-safe durable queue for Go.
Package dque is a fast, embedded, type-safe durable queue for Go.
Package errors provides a small, standard-library-compatible error wrapping package used internally by dque.
Package errors provides a small, standard-library-compatible error wrapping package used internally by dque.
Package flock is a lightweight, standard-library-only replacement for github.com/gofrs/flock tailored to the needs of dque.
Package flock is a lightweight, standard-library-only replacement for github.com/gofrs/flock tailored to the needs of dque.
Package gallerydb provides the database access layer for the application.
Package gallerydb provides the database access layer for the application.
Package gallerylib provides the business logic for importing and managing gallery content in the database.
Package gallerylib provides the business logic for importing and managing gallery content in the database.
Package gentestfiles provides utilities for generating test files with valid content based on their file extensions.
Package gentestfiles provides utilities for generating test files with valid content based on their file extensions.
Package gensyncpool provides a type-safe generic wrapper around sync.Pool that applies a caller-provided reset function when objects are *returned* to the pool (Put), matching conventional sync.Pool usage patterns.
Package gensyncpool provides a type-safe generic wrapper around sync.Pool that applies a caller-provided reset function when objects are *returned* to the pool (Put), matching conventional sync.Pool usage patterns.
Package getopt parses runtime configuration from environment variables and command-line flags.
Package getopt parses runtime configuration from environment variables and command-line flags.
Package humanize provides utilities for formatting numbers into human-readable forms.
Package humanize provides utilities for formatting numbers into human-readable forms.
Package log provides structured logging functionality with file and console output.
Package log provides structured logging functionality with file and console output.
Package multihandler provides a slog.Handler implementation that dispatches log records to multiple underlying slog.Handler instances.
Package multihandler provides a slog.Handler implementation that dispatches log records to multiple underlying slog.Handler instances.
Package parallelwalkdir provides utilities to traverse a directory structure in parallel, with support for symbolic links and loop detection.
Package parallelwalkdir provides utilities to traverse a directory structure in parallel, with support for symbolic links and loop detection.
Package profiler provides profiling support for the application using github.com/pkg/profile.
Package profiler provides profiling support for the application using github.com/pkg/profile.
Package queue provides a generic, thread-safe, dynamically resizing double-ended queue (deque).
Package queue provides a generic, thread-safe, dynamically resizing double-ended queue (deque).
Package scheduler provides an in-memory asynchronous task scheduler with configurable concurrency limits.
Package scheduler provides an in-memory asynchronous task scheduler with configurable concurrency limits.
Package server provides the core HTTP server, routing, middleware, and handlers for the web application.
Package server provides the core HTTP server, routing, middleware, and handlers for the web application.
auth
Package auth provides authentication services for the application.
Package auth provides authentication services for the application.
cachebatch
Package cachebatch provides batch cache loading with bounded concurrency.
Package cachebatch provides batch cache loading with bounded concurrency.
cachepreload
Package cachepreload provides cache preloading when folders are opened.
Package cachepreload provides cache preloading when folders are opened.
compress
Package compress provides pure functions for content encoding negotiation and compression decision making.
Package compress provides pure functions for content encoding negotiation and compression decision making.
conditional
Package conditional provides pure functions for HTTP conditional request matching.
Package conditional provides pure functions for HTTP conditional request matching.
config
Package config provides configuration loading, validation, persistence, and application for the server.
Package config provides configuration loading, validation, persistence, and application for the server.
database
Package database wires SQLite connection pools and database lifecycle for the server.
Package database wires SQLite connection pools and database lifecycle for the server.
files
Package files provides file discovery, metadata extraction, and thumbnail generation for the photo gallery.
Package files provides file discovery, metadata extraction, and thumbnail generation for the photo gallery.
handlers
Package handlers provides HTTP request handlers for the web application.
Package handlers provides HTTP request handlers for the web application.
interfaces
Package interfaces holds shared contracts consumed by both the server orchestrator (App) and the handlers package.
Package interfaces holds shared contracts consumed by both the server orchestrator (App) and the handlers package.
logging
Package logging configures structured logging for the server application.
Package logging configures structured logging for the server application.
metrics
Package metrics provides centralized metrics collection for the dashboard.
Package metrics provides centralized metrics collection for the dashboard.
middleware
Package middleware provides HTTP middleware for the server (auth, CSRF, compression, logging).
Package middleware provides HTTP middleware for the server (auth, CSRF, compression, logging).
modulestate
Package modulestate tracks active/inactive state for server subsystems.
Package modulestate tracks active/inactive state for server subsystems.
pathutil
Package pathutil provides path manipulation utilities for the server package.
Package pathutil provides path manipulation utilities for the server package.
security
Package security provides pure functions for security and lockout calculations.
Package security provides pure functions for security and lockout calculations.
session
Package session provides session store, CSRF token handling, and session cookie options for the web application.
Package session provides session store, CSRF token handling, and session cookie options for the web application.
template
Package template provides pure functions for building template data maps.
Package template provides pure functions for building template data maps.
ui
Package ui provides HTML template rendering and cache version management for the application's user interface.
Package ui provides HTML template rendering and cache version management for the application's user interface.
validation
Package validation provides configuration and input validation helpers.
Package validation provides configuration and input validation helpers.
Package testutil provides shared test helpers for HTML parsing and assertions.
Package testutil provides shared test helpers for HTML parsing and assertions.
Package thumbnail provides functionality for generating image thumbnails and computing image hashes (MD5, pHash).
Package thumbnail provides functionality for generating image thumbnails and computing image hashes (MD5, pHash).
Package workerpool provides a dynamic pool of workers that can be used to process tasks concurrently.
Package workerpool provides a dynamic pool of workers that can be used to process tasks concurrently.
Package writebatcher provides a generic, transaction-batching write serializer for database operations.
Package writebatcher provides a generic, transaction-batching write serializer for database operations.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL