github.com/rzurga/go-swagger@v0.28.1-0.20211109195225-5d1f453ffa3a/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  ```