Simple HTTP project written in Go
See other Who am I? options
$ go run cmd/server/main.go
$ curl http://localhost:8081 | json_pp
$ docker build -t marcopollivier/whoami:go-latest .
$ docker push marcopollivier/whoami:go-latest
$ docker run --name whoami_go -d -p 8081:8081 marcopollivier/whoami:go-latest
- me: hostname (container ID for example)
- timestamp: execution start time
{
"me": "RJ-MB2680.lan",
"timestamp": "2019-02-12T10:00:00.000Z"
}