internal/

directory
v0.0.0-...-641ea43 Latest Latest
Warning

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

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

Directories

Path Synopsis
Package api is the Cairn control-plane HTTP server.
Package api is the Cairn control-plane HTTP server.
Package config holds runtime configuration, populated from the environment.
Package config holds runtime configuration, populated from the environment.
Package doctor implements Cairn's self-diagnostics: the checks behind `cairn doctor`.
Package doctor implements Cairn's self-diagnostics: the checks behind `cairn doctor`.
Package grading executes an assignment's grading spec against a student's submission and records the score.
Package grading executes an assignment's grading spec against a student's submission and records the score.
Package id generates opaque random identifiers used for primary keys.
Package id generates opaque random identifiers used for primary keys.
Package identity resolves a student's Git-host username from an OAuth flow.
Package identity resolves a student's Git-host username from an OAuth flow.
Package importer applies an existing course, described in host-neutral terms, into Cairn's store.
Package importer applies an existing course, described in host-neutral terms, into Cairn's store.
Package provisioning defines the durable, idempotent job queue that fronts every Git-host write.
Package provisioning defines the durable, idempotent job queue that fronts every Git-host write.
Package rosteragent pulls a class roster from an LMS, matches each student to a Git-host username on the instructor's own machine, and hands the result to Cairn's bulk roster endpoint.
Package rosteragent pulls a class roster from an LMS, matches each student to a Git-host username on the instructor's own machine, and hands the result to Cairn's bulk roster endpoint.
Package store contains Cairn's domain models and the persistence that backs them.
Package store contains Cairn's domain models and the persistence that backs them.
memory
Package memory is an in-memory implementation of store.Store.
Package memory is an in-memory implementation of store.Store.
migrations
Package migrations holds Cairn's SQL schema migrations and embeds them so the Postgres store can apply them without shipping loose files.
Package migrations holds Cairn's SQL schema migrations and embeds them so the Postgres store can apply them without shipping loose files.
postgres
Package postgres implements store.Store on top of database/sql.
Package postgres implements store.Store on top of database/sql.
sqlite
Package sqlite implements store.Store on top of modernc.org/sqlite (pure Go, no cgo).
Package sqlite implements store.Store on top of modernc.org/sqlite (pure Go, no cgo).
storetest
Package storetest provides a shared conformance suite for store.Store implementations.
Package storetest provides a shared conformance suite for store.Store implementations.

Jump to

Keyboard shortcuts

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