pkg/

directory
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2026 License: MIT

Directories

Path Synopsis
Package covers centralizes cover-file selection and serving so that the books, series, ereader, and OPDS handlers don't drift independently.
Package covers centralizes cover-file selection and serving so that the books, series, ereader, and OPDS handlers don't drift independently.
Package ereader serves server-rendered HTML for stock Kobo and Kindle browsers that cannot use OPDS or the React app.
Package ereader serves server-rendered HTML for stock Kobo and Kindle browsers that cannot use OPDS or the React app.
filegentest
Package filegentest holds the conformance suite every filegen.StreamGenerator must pass, and stand-in generators for tests of the download cache and the routes that serve it.
Package filegentest holds the conformance suite every filegen.StreamGenerator must pass, and stand-in generators for tests of the download cache and the routes that serve it.
Package fingerprint computes content fingerprints for files.
Package fingerprint computes content fingerprints for files.
Package fingerprints provides CRUD operations on the file_fingerprints table.
Package fingerprints provides CRUD operations on the file_fingerprints table.
Package frontend serves the embedded web application.
Package frontend serves the embedded web application.
Package httputil provides small HTTP helpers shared across handlers.
Package httputil provides small HTTP helpers shared across handlers.
pkg/identifiers/identifiers.go
pkg/identifiers/identifiers.go
Package kepub provides conversion utilities for creating KePub files compatible with Kobo e-readers.
Package kepub provides conversion utilities for creating KePub files compatible with Kobo e-readers.
Package merge holds the input checks that every resource merge (People, Series, Genres, Tags, Publishers) runs before it writes anything.
Package merge holds the input checks that every resource merge (People, Series, Genres, Tags, Publishers) runs before it writes anything.
Package mobi reads MOBI and AZW3 files: Mobipocket (MOBI6) books, KF8 books, and combo files that hold a MOBI6 book followed by a KF8 one.
Package mobi reads MOBI and AZW3 files: Mobipocket (MOBI6) books, KF8 books, and combo files that hold a MOBI6 book followed by a KF8 one.
pdf
incremental
Package incremental reads just enough of a PDF to append an incremental update to it, and writes that update.
Package incremental reads just enough of a PDF to append an incremental update to it, and writes that update.
Package seriesnum parses and formats single series numbers and contiguous ranges.
Package seriesnum parses and formats single series numbers and contiguous ranges.
Package sharelinks holds the Share Link feature: anonymous, expiring links that grant access to one Book.
Package sharelinks holds the Share Link feature: anonymous, expiring links that grant access to one Book.
Package sortname provides functions for generating bibliographic sort names following ALA/Library of Congress conventions.
Package sortname provides functions for generating bibliographic sort names following ALA/Library of Congress conventions.
Package sortspec parses, validates, builds SQL for, and resolves multi-level book sort specifications (e.g.
Package sortspec parses, validates, builds SQL for, and resolves multi-level book sort specifications (e.g.
Package sqliteconn opens SQLite connections that run a fixed set of statements, usually pragmas, on every connection the pool opens.
Package sqliteconn opens SQLite connections that run a fixed set of statements, usually pragmas, on every connection the pool opens.
Package testutils provides test-only API endpoints.
Package testutils provides test-only API endpoints.
goconsts
Package goconsts reads string constants out of Go source so a test can check that every constant of a family is handled, without a hand-kept list that goes stale the same way the code under test would.
Package goconsts reads string constants out of Go source so a test can check that every constant of a family is handled, without a hand-kept list that goes stale the same way the code under test would.
testdb
Package testdb opens the database that package tests run against.
Package testdb opens the database that package tests run against.
testumask
Package testumask sets the process umask for the length of a test.
Package testumask sets the process umask for the length of a test.
Package ziputil writes zip entries without recompressing them, for generators that stream an archive built from another one.
Package ziputil writes zip entries without recompressing them, for generators that stream an archive built from another one.

Jump to

Keyboard shortcuts

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