No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Demo Server

This is a small utility used to demonstrate various points in configurating servers, proxies, load balancers eg.

Compile it with:

go build

This will produce the binary demoserver (or demoserver.exe). Run the server with:


The following flags can be used when running the server:

  • -http to set the IP address and port to listen to (-http=
  • -client use this if the client identity is stored in a header like X-Real-Ip: -client=X-Real-Ip
  • -id the id/name of the server. If none is gived a random name is selected.