reverse-proxy

command module
v0.0.0-...-fd23a95 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2023 License: MIT Imports: 5 Imported by: 0

README

Reverse proxy

About the project

Simple implementation of a configurable reverse proxy

Roadmap (ideas)

  • Protocol support for HTTP
  • Web Application Firewall
  • Load Balancing
  • Middleware
    • Caching
    • Rate limiting

Others:

  • Configurable middleware with:
    • JSON
    • YAML
  • Hotreloading of config file

Config file template

"first.localhost:8080":
  destination: "127.0.0.1:8081"
  middleware: []

"second.localhost:8080":
  destination: "127.0.0.1:8082"
  middleware: []

For a more complete example, check the following config.

References

LICENSE

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
middleware
Source: https://stackoverflow.com/questions/53272536/how-do-i-get-response-statuscode-in-golang-middleware This implementation has some issues as `loggingResponseWriter` doesn't implement multiple interfaces (`CloseNotifier`, Flusher`, etc) that might be used.
Source: https://stackoverflow.com/questions/53272536/how-do-i-get-response-statuscode-in-golang-middleware This implementation has some issues as `loggingResponseWriter` doesn't implement multiple interfaces (`CloseNotifier`, Flusher`, etc) that might be used.

Jump to

Keyboard shortcuts

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