feat: bootstrap Go project layout (forgejo-mcp-broker-n84)
- Initialize go.mod with module path kode.naiv.no/olemd/forgejo-mcp-broker
- Create directory layout: cmd/broker + internal/{buildinfo,config,log,store,httpserver}
- Add Makefile with build/test/lint/tidy/clean targets and ldflags-injected build info
- Stub cmd/broker/main.go with --version support; real wiring follows in -t37
- Stub doc.go for each internal/* package, pointing to the issue that fills it in
Closes forgejo-mcp-broker-n84.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
021bf0502d
commit
de5ce2de94
10 changed files with 134 additions and 0 deletions
6
internal/httpserver/doc.go
Normal file
6
internal/httpserver/doc.go
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
// Package httpserver hosts the broker's HTTP surface: OAuth endpoints, the
|
||||
// gated MCP endpoint, and /healthz. Owns an *http.Server with graceful
|
||||
// shutdown on SIGTERM / SIGINT.
|
||||
//
|
||||
// Implementation lands in forgejo-mcp-broker-8ei.
|
||||
package httpserver
|
||||
Loading…
Add table
Add a link
Reference in a new issue