Skip to content

morfien101/web_responder

Repository files navigation

web_responder

This is a very simple tool to respond to HTTP calls. You give it a path and a payload and it will respond to that.

Originally created to add in web health checks for containers that host apps that don't have a health check endpoint. Useful for use with my other application Launch: Launch

  -address string
        IP address to listen on. (default "0.0.0.0")
  -cert string
        TLS certificate.
  -h    Shows help menu.
  -key string
        TLS private key.
  -path string
        Path to respond on (default "/_status")
  -port int
        TCP port for HTTP(S) Server (default 8080)
  -response string
        JSON payload for the response (default "{\"healthy\":true}")
  -v    Shows the version.

About

service to mimic health checks

Resources

License

Stars

Watchers

Forks

Packages

No packages published