Commit Graph

40 Commits

Author SHA1 Message Date
37d4536e3f feat: add healthz endpoint 2022-05-19 10:29:51 +02:00
2b31e08215 fix: cleanup 2022-05-18 15:12:11 +02:00
f88b908ade fix add an extra flag for the URL port 2022-05-18 15:11:07 +02:00
d8e77cc756 fix: use listenAddr instead of hardcode listen address 2022-05-18 15:07:26 +02:00
c8a2190606 fix: http flag default value 2022-05-18 13:34:06 +02:00
bb6ecd0a86 fix: command flags 2022-05-17 14:26:34 +02:00
473deec7e9 chore: use shortie as a internal package 2022-05-17 14:10:35 +02:00
e3bdf80dac move from gorilla/mux to fasthttp/router 2021-01-10 15:49:00 +01:00
430d388c57 I'm bad at commits... 2020-03-26 11:41:41 +01:00
d5148efc41 Use structs to hold configuration data instead of loose variables 2019-10-06 13:40:14 +02:00
4223049ccc Bump version from 1.1.0 to 1.2.0 2019-09-19 16:25:58 +02:00
89aa61cca2 Switch to using a single conditional template 2019-09-19 16:23:04 +02:00
10018b4d74 bump version to 1.1.0 2019-09-19 12:50:10 +02:00
a7e7ac33ee Change html templating style 2019-09-19 12:48:25 +02:00
583d6abb84 minor logic refactor 2019-09-19 12:43:05 +02:00
70bf7b0406 Bump version to 1.0.1 2019-05-01 16:49:12 +02:00
b9771a638a Reorder variables 2019-05-01 16:44:24 +02:00
c1a0d6a789 Improved documentation 2019-05-01 12:25:50 +02:00
4b1bd2c8e0 Move internal error handling into his own func 2019-05-01 12:25:23 +02:00
50757e3feb Improve formating/readability 2019-05-01 08:53:29 +02:00
782dc60a41 remove fmt module 2019-05-01 01:11:35 +02:00
bcb1c5a641 Improved error logging 2019-05-01 01:02:27 +02:00
fcce320c39 Refactor global variables 2019-05-01 00:56:11 +02:00
a834bfab9f optimize port check 2019-05-01 00:54:20 +02:00
4a69686f81 improve cli input validation 2019-05-01 00:50:00 +02:00
c3b26395e1 Bump version to 1.0.0 2019-04-29 21:42:36 +02:00
554af81c01 Default to https for empty scheme URLs 2019-04-29 21:33:10 +02:00
c61ddfbc79 Refactoring variables names/usage 2019-04-29 21:30:15 +02:00
ecbc575db7 Add html templates, improved URL validation and control flag for shortened URL 2019-04-29 20:06:47 +02:00
a6e1e4340f Bump version to 0.2.0 2019-04-26 18:16:47 +02:00
2a8babd0c1 Add enpoints to dump and restore the in memory db 2019-04-26 17:48:12 +02:00
18c3271249 Change listen addr/port flags 2019-04-26 17:47:02 +02:00
ded42136c4 Change http handler to gorilla/mux 2019-04-26 17:44:59 +02:00
ef70358c27 Switch from redis store to in memory kv store 2019-04-18 10:45:08 +02:00
7042578dc8 Bump version 2019-04-15 10:45:29 +02:00
c64d8eedd3 Add some html templates 2019-04-14 22:37:01 +02:00
d33fd4d43d fix for default ports 2019-03-18 23:16:44 +01:00
c3639c4631 Add flags to switch proto and path 2019-03-18 22:40:08 +01:00
ccfa59e97c Add version 2019-03-18 16:35:03 +01:00
868b496858 shortener initial version 2019-03-18 16:22:38 +01:00