Documentation
¶
Overview ¶
Command server runs an echo server built with httpkit/server: response envelope, trace ids, access log, sentinel errors and pagination.
go run ./examples/server
curl -s 'localhost:8080/users?page=1&page-size=2'
curl -s localhost:8080/users/42
curl -s -XPOST localhost:8080/users -d '{"name":"x"}' -H 'Content-Type: application/json'
Click to show internal directories.
Click to hide internal directories.