Documentation
¶
Overview ¶
Package quickstart is the minimal go-kit HTTP service.
It demonstrates the recommended "happy path" for new users:
- Define plain request/response types.
- Write pure business logic (no framework imports).
- Wire everything with NewJSONServerWithMiddleware.
Run:
go run ./examples/quickstart
Test:
curl -X POST http://localhost:8080/hello \
-H "Content-Type: application/json" \
-d '{"name":"world"}'
curl http://localhost:8080/health
Click to show internal directories.
Click to hide internal directories.