Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ HTTP request, ACMEDNS, DirectAdmin Legacy, plain HTTP).
- `make lint` - Lint with golangci-lint
- `make vendor` - Tidy and vendor dependencies

Always run `make lint` and `make test` before submitting changes.
Run `make vendor` after modifying dependencies.
Always run `make lint`, `make test`, and `make functest` before submitting
changes. Run `make vendor` after modifying dependencies.

## Code Style

Expand Down Expand Up @@ -45,6 +45,7 @@ Run `make vendor` after modifying dependencies.
- `pkg/middleware/clean/` - Record cleanup (cloud/ backend)
- `pkg/hetzner/` - Hetzner Cloud API client helpers
- `pkg/data/` - Shared data types
- `pkg/ratelimit/` - Per-client-IP rate limiting (token bucket)
- `pkg/sanitize/` - Input sanitization

## Git
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,10 @@ listenAddr: :8081
trustedProxies:
- 127.0.0.1
rateLimit:
enabled: true
rps: 5
burst: 10
idleSeconds: 600
lockout:
enabled: true
maxAttempts: 10
durationSeconds: 3600
windowSeconds: 900
Expand Down
Loading