Skip to content
Snippets Groups Projects
  • Will McCutchen's avatar
    0defb3ce
    Add /hostname endpoint (#81) · 0defb3ce
    Will McCutchen authored
    This adds a new /hostname endpoint as originally proposed in #66. In
    this implementation, it exposes a dummy hostname by default, and only
    exposes the real hostname (via `os.Hostname()`) if the
    `-use-real-hostname` flag is given on the command line.
    0defb3ce
    History
    Add /hostname endpoint (#81)
    Will McCutchen authored
    This adds a new /hostname endpoint as originally proposed in #66. In
    this implementation, it exposes a dummy hostname by default, and only
    exposes the real hostname (via `os.Hostname()`) if the
    `-use-real-hostname` flag is given on the command line.