pkg/

directory
v2.4.5 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2026 License: AGPL-3.0

Directories

Path Synopsis
Package authclient is the Go client for the yarilo-auth master protocol.
Package authclient is the Go client for the yarilo-auth master protocol.
Package authtoken implements the one-time session token store used by yarilo-auth to hand off authenticated sessions to backend pods without replaying credentials.
Package authtoken implements the one-time session token store used by yarilo-auth to hand off authenticated sessions to backend pods without replaying credentials.
Package build exposes build-time metadata stamped via -ldflags.
Package build exposes build-time metadata stamped via -ldflags.
Package config loads yarilo.yaml: Defaults fills every key, the file overrides what it names, and Load refuses a value no component can use.
Package config loads yarilo.yaml: Defaults fills every key, the file overrides what it names, and Load refuses a value no component can use.
Package dict is yarilo's pluggable key-value store abstraction.
Package dict is yarilo's pluggable key-value store abstraction.
dicttest
Package dicttest is a contract test suite that any pkg/dict driver can run against.
Package dicttest is a contract test suite that any pkg/dict driver can run against.
drivers/all
Package all blank-imports every in-tree dict driver so a single import enables all of them in the importing binary.
Package all blank-imports every in-tree dict driver so a single import enables all of them in the importing binary.
fail
Package fail is a dict driver that fails every operation.
Package fail is a dict driver that fails every operation.
file
Package file is a JSON-backed local-filesystem dict driver.
Package file is a JSON-backed local-filesystem dict driver.
memory
Package memory is an in-process dict driver backed by a sync.Map.
Package memory is an in-process dict driver backed by a sync.Map.
proxy
Package proxy speaks the dict protocol to yarilo-dict, so a session holds a dict by name while the engines live in one process (#1733).
Package proxy speaks the dict protocol to yarilo-dict, so a session holds a dict by name while the engines live in one process (#1733).
redis
Package redis is a Redis-backed dict driver for state shared across pods.
Package redis is a Redis-backed dict driver for state shared across pods.
sql
Package sql is a database/sql-backed dict driver.
Package sql is a database/sql-backed dict driver.
varexpand
Package varexpand performs %-variable substitution for templated path / prefix strings used by dict drivers.
Package varexpand performs %-variable substitution for templated path / prefix strings used by dict drivers.
Package expand is the %{...} template language of configuration values: variables, providers such as env: and filters chained with |.
Package expand is the %{...} template language of configuration values: variables, providers such as env: and filters chained with |.
Package filelock takes the kernel's lock on a file: what arbitrates writers on one volume, between processes and across hosts (#1840).
Package filelock takes the kernel's lock on a file: what arbitrates writers on one volume, between processes and across hosts (#1840).
Package fts defines the full-text-search engine contract: the build-key model an indexer feeds documents through, the query/result shapes a lookup speaks, and the per-user index handle engines implement.
Package fts defines the full-text-search engine contract: the build-key model an indexer feeds documents through, the query/result shapes a lookup speaks, and the per-user index handle engines implement.
Package ftsproto is the TAB-delimited, LF-terminated wire protocol between session processes and the yarilo-fts service, plus the client.
Package ftsproto is the TAB-delimited, LF-terminated wire protocol between session processes and the yarilo-fts service, plus the client.
Package jmapcore is the JMAP protocol layer: the wire types of RFC 8620 (core) and RFC 8621 (mail), and the encoding rules around them.
Package jmapcore is the JMAP protocol layer: the wire types of RFC 8620 (core) and RFC 8621 (mail), and the encoding rules around them.
Package lineio reads LF-terminated lines without holding more than a bound.
Package lineio reads LF-terminated lines without holding more than a bound.
linetest
Package linetest checks that a line-oriented server bounds the line it reads.
Package linetest checks that a line-oriented server bounds the line it reads.
Package locks is the single cross-process write-coordination abstraction for yarilo.
Package locks is the single cross-process write-coordination abstraction for yarilo.
lockstest
Package lockstest holds lock service doubles for tests.
Package lockstest holds lock service doubles for tests.
Package logging installs the process-wide slog handler with a runtime-changeable level.
Package logging installs the process-wide slog handler with a runtime-changeable level.
Package mailbox is the contract between the session processes and every storage driver: the per-user mailbox and index interfaces and their types.
Package mailbox is the contract between the session processes and every storage driver: the per-user mailbox and index interfaces and their types.
Package mimesalvage reads a message whose MIME is damaged.
Package mimesalvage reads a message whose MIME is damaged.
Package mtls provides helpers for building mutual-TLS configs used between yarilo components (auth, warden, director, imap-login → imap, etc.).
Package mtls provides helpers for building mutual-TLS configs used between yarilo components (auth, warden, director, imap-login → imap, etc.).
mtlstest
Package mtlstest issues an internal CA and role certificates for tests.
Package mtlstest issues an internal CA and role certificates for tests.
Package quota tracks and enforces per-user storage and message-count quota.
Package quota tracks and enforces per-user storage and message-count quota.
Package redisopt builds Redis client options from a URL and a password kept apart from it, so the password can come from a Secret, not the ConfigMap.
Package redisopt builds Redis client options from a URL and a password kept apart from it, so the password can come from a Secret, not the ConfigMap.
Package retry provides a simple exponential-backoff retry helper for startup-time dials that must succeed before a service can accept traffic.
Package retry provides a simple exponential-backoff retry helper for startup-time dials that must succeed before a service can accept traffic.
Package sqlpool applies connection-pool limits to a database/sql handle.
Package sqlpool applies connection-pool limits to a database/sql handle.
Package sqlvars is the variable grammar of the SQL passdb and userdb queries: which variables a query may name, and how they become bound parameters.
Package sqlvars is the variable grammar of the SQL passdb and userdb queries: which variables a query may name, and how they become bound parameters.

Jump to

Keyboard shortcuts

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