Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
forge-dashboard
command
Command forge-dashboard is the composition root: it builds a Source per configured forge, starts the aggregator's background refresh, and serves the API and static frontend against whatever the aggregator most recently assembled.
|
Command forge-dashboard is the composition root: it builds a Source per configured forge, starts the aggregator's background refresh, and serves the API and static frontend against whatever the aggregator most recently assembled. |
|
internal
|
|
|
api
Package api is the composition root's one dependency: an http.Handler satisfying api/openapi.yaml, serving the aggregated dashboard snapshot and the static frontend.
|
Package api is the composition root's one dependency: an http.Handler satisfying api/openapi.yaml, serving the aggregated dashboard snapshot and the static frontend. |
|
dashboard
Package dashboard holds the domain model both forge clients produce and the aggregator that merges them into one snapshot.
|
Package dashboard holds the domain model both forge clients produce and the aggregator that merges them into one snapshot. |
|
forgejo
Package forgejo is a thin client for the pieces of the Forgejo API (Gitea-compatible) forge-dashboard needs — the same shape as internal/github, against a different API under a self-hosted host.
|
Package forgejo is a thin client for the pieces of the Forgejo API (Gitea-compatible) forge-dashboard needs — the same shape as internal/github, against a different API under a self-hosted host. |
|
github
Package github is a thin client for the pieces of the GitHub REST API forge-dashboard needs: which repositories the token can write to, their open pull requests and issues, and combined CI status per pull request.
|
Package github is a thin client for the pieces of the GitHub REST API forge-dashboard needs: which repositories the token can write to, their open pull requests and issues, and combined CI status per pull request. |
Click to show internal directories.
Click to hide internal directories.