0658bad902
feat(json): add support for JSON request and response types
2022-11-14 19:47:39 +00:00
623d2c21b0
feat(env): support BIND environment variable
2022-11-14 19:01:32 +00:00
9a904fee99
feat!: remove external dependencies
...
Remove the kingpin external dependency, and instead just use Go's stdlib
flag package.
BREAKING CHANGE: Long versions of command line flags are no longer supported.
2022-11-14 19:01:31 +00:00
cdaaec6b0b
feat: compare on GET requests with non-empty query string
...
Also add a /about page so there's a non-root page that does not return
404.
2022-05-24 17:39:12 +01:00
da12cbabde
feat(example): add force HTTPS option to force examples to show https
2021-04-14 19:48:51 +01:00
874fcfdfe5
Use fmt's Printf instead of Println function
2018-05-07 07:03:16 +01:00
15fb686368
Change main vars to be compatible with goreleaser
...
And also various smaller cleanup and optimizations.
2018-05-07 01:40:16 +01:00
a4dcfa68d5
Update wording on index page
2018-05-06 21:09:25 +01:00
bb698fcad1
Switch from fasthttp to net/http to simplify things
2017-09-01 00:55:31 +01:00
b4adc35cac
Fix issue where PORT env could override --port argument
2017-08-28 00:03:12 +01:00
60de2a3f44
Detect hostname from request
2017-03-30 01:22:11 +01:00
ce38f0ec96
initial commit
2017-03-30 01:09:55 +01:00