Go based secure and unsecured REST endpoints
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
vendor
.gitignore
Dockerfile
LICENSE
README.md
bootstrap.sh
build.sh
docker-compose.yml
glide.lock
glide.yaml
localhost.crt
server.go
server.key
test.py

README.md

go-tls

Go REST endpoint with TLS support

Testing

$ time python test.py
https://localhost:5000/messages/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa correctly not found
https://localhost:5000/messages POSTed successfully
https://localhost:5000/messages/2c26b46b68ffc68ff99b453c1d30413413422d706483bfa0f98a5e886266e7ae correctly found
https://localhost:5000/messages POSTed successfully
https://localhost:5000/messages/fcde2b2edba56bf408601fb721fe9b5c338d10ee429ea04fae5511b68fbf8fb9 correctly found
https://localhost:5000/messages/2c26b46b68ffc68ff99b453c1d30413413422d706483bfa0f98a5e886266e7ae correctly found

***************************************************************************
All tests passed!
***************************************************************************

real	0m0.249s
user	0m0.101s
sys	0m0.055s

BUILD

build.sh includes steps to build for current OS and for the included Dockerfile