Help us shape the future of Go! Take the 2026 Go Developer Survey

internal/

directory
v0.2.0 Latest Latest
Warning

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

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

Directories

Path Synopsis
adapters
client
Package client is the Connect client of the remote CLI: it turns the ERMITE_URL and ERMITE_TOKEN settings into authenticated service clients for the ermite-api contract, maps Connect errors to one-line messages and keeps a Watch stream alive across reconnections.
Package client is the Connect client of the remote CLI: it turns the ERMITE_URL and ERMITE_TOKEN settings into authenticated service clients for the ermite-api contract, maps Connect errors to one-line messages and keeps a Watch stream alive across reconnections.
eventbus
Package eventbus implements ports.EventBus: in-process fan-out to subscribers, never blocking the publisher.
Package eventbus implements ports.EventBus: in-process fan-out to subscribers, never blocking the publisher.
gitcli
Package gitcli implements the Git ports over the git binary.
Package gitcli implements the Git ports over the git binary.
githttp
Package githttp serves Git over smart HTTP: it routes, authenticates and authorizes a request, then lets `git http-backend` answer it through net/http/cgi.
Package githttp serves Git over smart HTTP: it routes, authenticates and authorizes a request, then lets `git http-backend` answer it through net/http/cgi.
httpserver
Package httpserver is the HTTP entry of ermite: the router, the security headers, the request log and the graceful shutdown.
Package httpserver is the HTTP entry of ermite: the router, the security headers, the request log and the graceful shutdown.
kvstore
Package kvstore implements the metadata ports over ermite-kv.
Package kvstore implements the metadata ports over ermite-kv.
rpc
Package rpc serves the ermite API contract (bnema.dev/ermite-api) with ConnectRPC: handlers that map the messages of the contract to the use cases of app and back, the interceptor that authenticates callers, and the error mapping.
Package rpc serves the ermite API contract (bnema.dev/ermite-api) with ConnectRPC: handlers that map the messages of the contract to the use cases of app and back, the interceptor that authenticates callers, and the error mapping.
sshsig
Package sshsig signs the commits ermite creates with the instance key (ADR 0022): an ed25519 key, in the SSH signature format Git reads with gpg.format=ssh.
Package sshsig signs the commits ermite creates with the instance key (ADR 0022): an ed25519 key, in the SSH signature format Git reads with gpg.format=ssh.
web
Package web is the HTML front of ermite: the pages of the read-only showcase, rendered with templ from the data of the ermite API.
Package web is the HTML front of ermite: the pages of the read-only showcase, rendered with templ from the data of the ermite API.
Package app holds the use cases of ermite.
Package app holds the use cases of ermite.
Package clientlimit counts failed authentications per client address and finds the address of a request behind trusted proxies.
Package clientlimit counts failed authentications per client address and finds the address of a request behind trusted proxies.
Package config parses and validates the server configuration from the environment.
Package config parses and validates the server configuration from the environment.
Package ports declares the interfaces the use cases need from the outside world.
Package ports declares the interfaces the use cases need from the outside world.

Jump to

Keyboard shortcuts

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