README
¶
To do list example
Shows a fully loaded server that by default listens on a unix, http and https socket.
You can run just the http listener for quick testing:
go run ./cmd/todo-list-server/main.go --scheme http
Run full server
To run the full server you need to build the binary and run it with sudo enabled.
go build ./cmd/todo-list-server
sudo ./todo-list-server --tls-certificate mycert1.crt --tls-certificate-key mycert1.key
Directories
¶
Path | Synopsis |
---|---|
cmd
|
|
Package restapi Simple To Do List API Schemes: http https Host: localhost BasePath: / Version: 0.1.0 Consumes: - application/io.swagger.examples.todo-list.v1+json Produces: - application/io.swagger.examples.todo-list.v1+json swagger:meta
|
Package restapi Simple To Do List API Schemes: http https Host: localhost BasePath: / Version: 0.1.0 Consumes: - application/io.swagger.examples.todo-list.v1+json Produces: - application/io.swagger.examples.todo-list.v1+json swagger:meta |
Click to show internal directories.
Click to hide internal directories.