internal/

directory
v0.0.0-...-610d9af Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2026 License: GPL-3.0

Directories

Path Synopsis
Package auth contains the security primitives of the service: password hashing (Argon2id), signed JWTs (stateless bearer auth), opaque random tokens (database-backed sessions, email verification, password reset) and the GitHub OAuth client.
Package auth contains the security primitives of the service: password hashing (Argon2id), signed JWTs (stateless bearer auth), opaque random tokens (database-backed sessions, email verification, password reset) and the GitHub OAuth client.
githubtest
Package githubtest is a minimal fake of GitHub's OAuth and REST endpoints for tests.
Package githubtest is a minimal fake of GitHub's OAuth and REST endpoints for tests.
Package config turns environment variables into a validated Config.
Package config turns environment variables into a validated Config.
Package domain holds the application's core types and rules: entities, input validation and the error vocabulary.
Package domain holds the application's core types and rules: entities, input validation and the error vocabulary.
Package httpapi is the HTTP transport layer: routing, middleware, JSON encoding and the mapping from domain errors to status codes.
Package httpapi is the HTTP transport layer: routing, middleware, JSON encoding and the mapping from domain errors to status codes.
Package mailer sends the transactional emails of the auth flows (verify your email, reset your password).
Package mailer sends the transactional emails of the auth flows (verify your email, reset your password).
Package service holds the application's business logic: validation, authorization rules ("you may only touch your own projects") and orchestration of repositories.
Package service holds the application's business logic: validation, authorization rules ("you may only touch your own projects") and orchestration of repositories.
Package store is the persistence layer: it implements the repository interfaces that the service package declares, on top of SQLite (via database/sql) and sqlc-generated queries.
Package store is the persistence layer: it implements the repository interfaces that the service package declares, on top of SQLite (via database/sql) and sqlc-generated queries.

Jump to

Keyboard shortcuts

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