Documentation
¶
Overview ¶
Command server is an example app wiring up the golite packages: config from .env / env vars / flags, a colored logger, SQLite with migrations, a River job queue with RiverUI, and a small JSON API.
go run ./samples/server -log-level debug
curl -X POST localhost:7880/api/greetings -d '{"name":"Tim"}'
curl localhost:7880/api/greetings
open http://localhost:7880/riverui/
Directories
¶
| Path | Synopsis |
|---|---|
|
Package migrations embeds the app's SQL migrations into the binary.
|
Package migrations embeds the app's SQL migrations into the binary. |
Click to show internal directories.
Click to hide internal directories.