Sign inSign up

dotlou/go-echo-server

By dotlou

•Updated about 5 years ago

Image
0

1.2K

dotlou/go-echo-server repository overview

⁠go-echo-server

Docker Cloud Automated build Docker Cloud Build Status Golang v1.12

Simple echo HTTP server with a fake auth endpoint

⁠Endpoints

/

Useful for echoing back what it got, such as headers, method, body.

Supported methods:

  • OPTIONS
  • GET
  • POST
⁠/fakeAuth

Useful for using as a test nginx authentication sub-request. Will pass if given an Authorization header of Bearer valid-key, will fail otherwise

Supported methods:

  • OPTIONS
  • GET

⁠k8s

Some kubernetes resource files are provided so that this can run behind an nginx-ingress controller, with the auth-url configured for / to use /fakeAuth as the authentication path.

Tag summary

Content type

Image

Digest

Size

5.9 MB

Last updated

about 5 years ago

docker pull dotlou/go-echo-server