Skip to content
This repository has been archived by the owner on Feb 18, 2022. It is now read-only.
/ go-echo-server Public archive

Simple echo HTTP server with a fake auth endpoint

License

Notifications You must be signed in to change notification settings

dotLou/go-echo-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.