go-shared

module
v0.0.0-...-6522b05 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2026 License: AGPL-3.0

Directories

Path Synopsis
Package acl provides shared HTTP middleware that enforces instance-level access control for both flow-api and auth-api.
Package acl provides shared HTTP middleware that enforces instance-level access control for both flow-api and auth-api.
Package apierr provides the base error types (Spec, APIError) and constructors shared by all backend services.
Package apierr provides the base error types (Spec, APIError) and constructors shared by all backend services.
Package authn provides password hashing, JWT signing/verification, and opaque token generation shared by all backend services.
Package authn provides password hashing, JWT signing/verification, and opaque token generation shared by all backend services.
Package avatarutil resolves the avatar_url column stored on the users table into a URL safe to hand to a browser.
Package avatarutil resolves the avatar_url column stored on the users table into a URL safe to hand to a browser.
Package crypto is the only place that holds the symmetric master key used to seal LLM provider API keys at rest.
Package crypto is the only place that holds the symmetric master key used to seal LLM provider API keys at rest.
Package ctxutil provides small helpers for context lifetime management that recur across the api services.
Package ctxutil provides small helpers for context lifetime management that recur across the api services.
Package dbretry provides the shared retry policy for transactions that fail with a transient MySQL error.
Package dbretry provides the shared retry policy for transactions that fail with a transient MySQL error.
Package dbtype IP address conversion helpers.
Package dbtype IP address conversion helpers.
Package dbtz pins the timezone a MySQL session interprets times in.
Package dbtz pins the timezone a MySQL session interprets times in.
Package email provides an outbound transport interface for sending email messages.
Package email provides an outbound transport interface for sending email messages.
Package eventacl holds the visibility decision for calendar_events rows, in the one place every reader has to go through: the flow-api REST list and detail handlers, and the MCP calendar tools.
Package eventacl holds the visibility decision for calendar_events rows, in the one place every reader has to go through: the flow-api REST list and detail handlers, and the MCP calendar tools.
Package eventbus holds the canonical set of event-kind strings appended to the shared `events` table across all nodate-flow services.
Package eventbus holds the canonical set of event-kind strings appended to the shared `events` table across all nodate-flow services.
Package eventlog provides a service-agnostic appender for the shared `events` table.
Package eventlog provides a service-agnostic appender for the shared `events` table.
Package holidays answers "is this day a public holiday in country X" for the server side of the product.
Package holidays answers "is this day a public holiday in country X" for the server side of the product.
Package httputil provides shared HTTP utility functions used across all nodate-flow API services.
Package httputil provides shared HTTP utility functions used across all nodate-flow API services.
Package logutil entity helpers.
Package logutil entity helpers.
Package memberkit is the sole writer for cross-table mutations that span workspace_members and the workspace-scoped state owned by each member (personal calendars, calendar_subscriptions, task_actors, project_members).
Package memberkit is the sole writer for cross-table mutations that span workspace_members and the workspace-scoped state owned by each member (personal calendars, calendar_subscriptions, task_actors, project_members).
Package payloadscan type-checks event payload literals for internal identifiers.
Package payloadscan type-checks event payload literals for internal identifiers.
Package problem holds the single writer for the API's error envelope.
Package problem holds the single writer for the API's error envelope.
Package ratelimit provides an in-memory sliding window rate limiter.
Package ratelimit provides an in-memory sliding window rate limiter.
Package recurrence expands a stored recurrence rule into the concrete occurrences that fall inside a time range.
Package recurrence expands a stored recurrence rule into the concrete occurrences that fall inside a time range.
Package region provides shared helpers for timezone / country handling.
Package region provides shared helpers for timezone / country handling.
Package sessionstore -- Redis driver.
Package sessionstore -- Redis driver.
Package signalwire is the single source of truth for the signal wire contract shared across services: the closed `signals.source` enum and the JSON request body of POST /signals.
Package signalwire is the single source of truth for the signal wire contract shared across services: the closed `signals.source` enum and the JSON request body of POST /signals.
Package stringutil provides string manipulation helpers shared across the backend services.
Package stringutil provides string manipulation helpers shared across the backend services.
Package testhelpers provides service-agnostic integration-test primitives: a shared MySQL 9 testcontainer with the full repo schema loaded, a repo-root finder, and a per-file SQL executor.
Package testhelpers provides service-agnostic integration-test primitives: a shared MySQL 9 testcontainer with the full repo schema loaded, a repo-root finder, and a per-file SQL executor.
Package token provides shared opaque-token primitives for capability URLs (public share links, invite magic links).
Package token provides shared opaque-token primitives for capability URLs (public share links, invite magic links).

Jump to

Keyboard shortcuts

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