2f65441981
Enable benchHandler on "/bench/" in addition of "/bench"
...
Adding the trailing slash allows to trigger the bench handler for
performance measurements in situations where a trailing slash
character '/' is added to the request.
For example, in traefik addPrefix middleware, if you specify a
"/bench" prefix, a request on "http://localhost " will be transformed
from "GET /" to "GET /bench/" with no way to remove the trailing
'/' (at least without adding another rewrite rule, which would
modify measurements).
2021-04-27 15:39:57 +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