Add initial Go server skeleton with HTTP handlers, middleware, job runner, and stubs
This commit is contained in:
8
internal/http/README.md
Normal file
8
internal/http/README.md
Normal file
@@ -0,0 +1,8 @@
|
||||
This folder contains HTTP handlers, router registration, and middleware.
|
||||
|
||||
Key files:
|
||||
- `router.go` - registers routes and APIs.
|
||||
- `handlers.go` - small HTMX-based handlers for the dashboard and API.
|
||||
- `middleware.go` - request id, logging, placeholder auth and CSRF.
|
||||
|
||||
Handlers should accept `*App` struct for dependency injection.
|
||||
Reference in New Issue
Block a user