{"repo":"traefik/whoami","free":true,"listed":false,"github":"https://github.com/traefik/whoami","clone":"git clone https://github.com/traefik/whoami.git","description":"Tiny Go server that prints os information and HTTP request to output","language":"Go","stars":1412,"topics":["whoami","golang","go"],"license":"Apache-2.0","category":"dev-tools","readme_excerpt":"whoami Tiny Go webserver that prints OS information and HTTP request to output. Usage Paths /[?wait=d] Returns the whoami information (request and network information). The optional wait query parameter can be provided to tell the server to wait before sending the response. The duration is expected in Go's time.Duration format (e.g. /?wait=100ms to wait 100 milliseconds). The optional env query parameter can be set to true to add the environment variables to the response. /api Returns the whoami information (and some extra information) as JSON. The optional env query parameter can be set to true to add the environment variables to the response. /bench Always return the same response ( 1 ). /data?size=n[&unit=u] Creates a response with a size n . The unit of measure, if specified, accepts the following values: KB , MB , GB , TB (optional, default: bytes). /echo WebSocket echo. /health Heath check. - GET , HEAD , ...: returns a response with the status code defined by the POST - POST : changes the status code of the GET ( HEAD , ...) response. Flags Flag Env var Description ----------- ---------------------- ----------------------------------------- cert Give me a certificate. key Give me a key. cacert Give me a CA chain, enforces mutual TLS port WHOAMI PORT NUMBER Give me a port number. (default: 80 ) name WHOAMI NAME Give me a name. verbose Enable verbose logging. Examples","default_branch":null,"files":null,"tree":[],"storefront":"/r/traefik","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/traefik/whoami/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}