go-echo-server

command module
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 2, 2020 License: MIT Imports: 9 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL