Directories
¶
| Path | Synopsis |
|---|---|
|
api
|
|
|
graphql
Package graphql implements Githome's GraphQL API v4.
|
Package graphql implements Githome's GraphQL API v4. |
|
graphql/dataloader
Package dataloader provides a generic per-request batch loader.
|
Package dataloader provides a generic per-request batch loader. |
|
rest
Package rest implements Githome's REST API v3.
|
Package rest implements Githome's REST API v3. |
|
Package auth turns a raw HTTP credential into a normalized Actor and decides what that actor may do.
|
Package auth turns a raw HTTP credential into a normalized Actor and decides what that actor may do. |
|
cmd
|
|
|
githome
command
Command githome runs the Githome server.
|
Command githome runs the Githome server. |
|
githome-conform
command
Command githome-conform certifies a running Githome instance against the compatibility matrix: it points at a base URL with an auth token and a target repository, runs the section-3 surface (repository read, conditional requests, issue listing and pagination, the search endpoints, and GraphQL introspection plus a connection query), and prints a pass/fail report.
|
Command githome-conform certifies a running Githome instance against the compatibility matrix: it points at a base URL with an auth token and a target repository, runs the section-3 surface (repository read, conditional requests, issue listing and pagination, the search endpoints, and GraphQL introspection plus a connection query), and prints a pass/fail report. |
|
githome-migrate
command
Command githome-migrate applies or rolls back Githome's database migrations.
|
Command githome-migrate applies or rolls back Githome's database migrations. |
|
Package config loads and validates Githome's runtime configuration from the environment (with an optional file overlay) into a single immutable Config.
|
Package config loads and validates Githome's runtime configuration from the environment (with an optional file overlay) into a single immutable Config. |
|
Package domain holds Githome's business logic and value objects.
|
Package domain holds Githome's business logic and value objects. |
|
Package etag computes deterministic HTTP entity tags for Githome responses.
|
Package etag computes deterministic HTTP entity tags for Githome responses. |
|
Package git is Githome's read access to the bare repositories on disk.
|
Package git is Githome's read access to the bare repositories on disk. |
|
Package gittransport serves git clone and fetch over the Git Smart HTTP protocol.
|
Package gittransport serves git clone and fetch over the Git Smart HTTP protocol. |
|
Package jsondiff makes "100% compatible with GitHub" mechanical.
|
Package jsondiff makes "100% compatible with GitHub" mechanical. |
|
Package nodeid encodes and decodes the opaque identifiers Githome uses for the GraphQL `id` field and the REST `node_id` field.
|
Package nodeid encodes and decodes the opaque identifiers Githome uses for the GraphQL `id` field and the REST `node_id` field. |
|
Package presenter renders domain values into the exact wire shapes GitHub emits.
|
Package presenter renders domain values into the exact wire shapes GitHub emits. |
|
gqlmodel
Package gqlmodel holds the hand-written Go types that back Githome's GraphQL object types and scalars.
|
Package gqlmodel holds the hand-written Go types that back Githome's GraphQL object types and scalars. |
|
restmodel
Package restmodel holds the exact JSON wire structs Githome serves on the REST API.
|
Package restmodel holds the exact JSON wire structs Githome serves on the REST API. |
|
Package search parses GitHub's search query mini-language into the structured form the domain resolves and the store filters on.
|
Package search parses GitHub's search query mini-language into the structured form the domain resolves and the store filters on. |
|
Package store is the single entry point to Githome's metadata database.
|
Package store is the single entry point to Githome's metadata database. |
|
migrations
Package migrations holds Githome's embedded SQL schema migrations and exposes them as a read-only filesystem for the store's migration runner.
|
Package migrations holds Githome's embedded SQL schema migrations and exposes them as a read-only filesystem for the store's migration runner. |
|
Package webhook delivers a repository's recorded events to its registered hooks.
|
Package webhook delivers a repository's recorded events to its registered hooks. |
|
Package worker is the background job queue: the enqueue API job producers submit through, and (from a later milestone) the claim-and-run loop that drains it.
|
Package worker is the background job queue: the enqueue API job producers submit through, and (from a later milestone) the claim-and-run loop that drains it. |
Click to show internal directories.
Click to hide internal directories.