Documentation
¶
Overview ¶
Command basic-http demonstrates a minimal multi-tenant HTTP server.
It shows:
- Tenant extraction from the X-Tenant-Id header
- Per-tenant configuration via ConfigMgr
- Tenant-aware logging and rate limiting
Run it and try:
curl -H "X-Tenant-Id: acme" http://localhost:8080/config curl -H "X-Tenant-Id: globex" http://localhost:8080/config curl -H "X-Tenant-Id: acme" http://localhost:8080/hello
Click to show internal directories.
Click to hide internal directories.