todo-list-strict/

directory
v0.0.0-...-9f25265 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2023 License: Apache-2.0

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-key mycert1.key

Generate code

swagger generate server -A todo-list -f ./swagger.yml --strict-responders --regenerate-configureapi

Directories

Path Synopsis
cmd
Package restapi Simple To Do List API
Package restapi Simple To Do List API

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL