Skip to content

Repository files navigation

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

About

Go based secure and unsecured REST endpoints

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages