GoLang Echo Backend (TLS enabled)
970
A Docker image of Go service which echo back the request payload. Supports both HTTP/1.1 and HTTP/2 with SSL. Also, supports any type of request payload such as text, json, xml etc.
HTTP/1.1 - $ docker run -d -p 9191:9191 -e "VERSION=1" ldclakmal/go-echo-backend:latest
HTTP/2 - $ docker run -d -p 9191:9191 -e "VERSION=2" -e "MAXSTREAM=1000" ldclakmal/go-echo-backend:latest
HTTP/1.1 - $ curl -kv https://localhost:9191/hello/sayHello -d "Hello GoLang"
HTTP/2- $ curl --http2 -kv https://localhost:9191/hello/sayHello -d "Hello GoLang"
Content type
Image
Digest
Size
338.3 MB
Last updated
over 6 years ago
docker pull ldclakmal/go-echo-backend