github.com/fkautz/example-go-rest-api

example-go-rest-api } time example is a modified example from github.com/gorilla/websocket/examples/echo which emits time on a regular basis rather than echoing back.


License
Apache-2.0
Install
go get github.com/fkautz/example-go-rest-api

Documentation

example-go-rest-api

docker run -p 8080:8080 fkautz/example-go-rest-api
  • http://localhost:8080/
  • http://localhost:8080/hello/{{world}}
  • http://localhost:8080/time

time example is a modified example from github.com/gorilla/websocket/examples/echo which emits time on a regular basis rather than echoing back.