internal/

directory
v0.0.0-...-66da7ee Latest Latest
Warning

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

Go to latest
Published: May 12, 2026 License: MIT

Directories

Path Synopsis
Package auth handles GitHub OAuth authentication, browser session management, and the optional OAuth broker feature.
Package auth handles GitHub OAuth authentication, browser session management, and the optional OAuth broker feature.
Package backend defines the upstream backend identifiers that ghp routes traffic to.
Package backend defines the upstream backend identifiers that ghp routes traffic to.
Package config handles loading and managing the ghp server configuration.
Package config handles loading and managing the ghp server configuration.
Package crypto provides AES-256-GCM encryption for storing GitHub OAuth credentials at rest.
Package crypto provides AES-256-GCM encryption for storing GitHub OAuth credentials at rest.
Package database provides the data access layer for ghp, abstracting over PostgreSQL (production) and SQLite (development) backends.
Package database provides the data access layer for ghp, abstracting over PostgreSQL (production) and SQLite (development) backends.
Package docs provides the embedded documentation site for ghp.
Package docs provides the embedded documentation site for ghp.
Package gitcache implements a Git protocol v2 caching proxy.
Package gitcache implements a Git protocol v2 caching proxy.
Package github implements GitHub App authentication for agent tokens (gha_).
Package github implements GitHub App authentication for agent tokens (gha_).
Package metrics registers all Prometheus metrics for ghp and provides helper functions for recording observations.
Package metrics registers all Prometheus metrics for ghp and provides helper functions for recording observations.
Package proxy implements the core reverse proxy that sits between coding agents and GitHub.
Package proxy implements the core reverse proxy that sits between coding agents and GitHub.
Package server wires up the HTTP server with all routes.
Package server wires up the HTTP server with all routes.
Package token manages the lifecycle of ghp proxy tokens (ghx_ and gha_ prefixed).
Package token manages the lifecycle of ghp proxy tokens (ghx_ and gha_ prefixed).
Package web provides the management web UI and HTTP middleware for ghp.
Package web provides the management web UI and HTTP middleware for ghp.

Jump to

Keyboard shortcuts

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