github.com/circl-dev/go-swagger@v0.31.0/examples/todo-list/README.md (about)

     1  # To do list example
     2  
     3  Shows a fully loaded server that by default listens on a unix, http and https socket.
     4  
     5  You can run just the http listener for quick testing:
     6  
     7  ```shellsession
     8  go run ./cmd/todo-list-server/main.go --scheme http
     9  ```
    10  
    11  ## Run full server
    12  
    13  To run the full server you need to build the binary and run it with sudo enabled.
    14  
    15  ```shellsession
    16  go build ./cmd/todo-list-server
    17  sudo ./todo-list-server --tls-certificate mycert1.crt --tls-certificate-key mycert1.key
    18  ```