Commit Graph

25 Commits

Author SHA1 Message Date
c36625cb56 chore: clean the start of the server 2021-12-03 18:55:03 +01:00
a067f0ee4c fix: rename WHOAMI_PORT to WHOAMI_PORT_NUMBER
k8s creates env var based on service name,
then WHOAMI_PORT exists and contains a URL instead of a number.
2021-12-03 18:49:47 +01:00
04e535038e Allow to pass port using an environment variable (#44) 2021-10-27 14:51:23 +02:00
9baca36b2c Add mutual TLS support 2021-06-24 16:54:12 +02:00
6516f0ace6 chore: use GitHub Actions. 2020-12-05 16:51:32 +01:00
1ef68230de feat: display name in /api endpoint. 2020-06-20 19:55:29 +02:00
90425015d5 chore: update linter. 2020-05-09 17:30:12 +02:00
c4809bbe21 feat: add a name to be more human friendly. (#29) 2020-03-11 13:11:36 +01:00
affedf56a2 chore: add linter. 2019-09-17 01:18:37 +02:00
d8aeedd011 doc: improve readme. 2019-09-17 00:39:02 +02:00
5e438f6f9e Add remoteAddr information (#20) 2019-09-03 11:40:33 +02:00
48ed709a3a refactor: code review. 2019-01-10 00:28:38 +01:00
2bc53608e9 add req.Host and req.Method to api handler response (#13)
This is useful information to return when (for example) testing a
reverse proxy.
2018-10-29 14:26:25 +01:00
90c7fab968 adds a /data path (#14) 2018-10-29 14:25:39 +01:00
585d48ff07 Fixed the container name (#8)
* Fixed the container name
* whoamI -> whoami
2018-08-06 17:05:34 +02:00
c039b48727 Add TLS Option (#7)
* add tls
remove unused var

* remove defaults
2018-07-30 21:43:23 +02:00
396480734c Add body to benchHandler 2018-06-06 17:36:52 +02:00
c60eef3b94 RWMutex + defer Unlock 2017-02-07 11:14:38 +01:00
5ebf416f43 Add lock 2017-02-06 23:29:46 +01:00
531a7e2b13 Add health with update on POST 2017-02-06 16:41:38 +01:00
1362371fa1 updates 2016-06-30 10:51:39 +02:00
4a4db8d195 added JSON API on /api 2015-11-09 22:33:16 +01:00
139ff4dadd websocket support /echo 2015-10-14 22:58:01 +02:00
64ddc0a510 Format 2015-09-22 18:41:36 +02:00
c422047cf9 Initial commit 2015-09-22 18:40:30 +02:00