Commit Graph

12 Commits

Author SHA1 Message Date
ea9877f6c4
HTTP server and handlers were restructurised. 2023-01-08 17:49:03 +04:00
e4225db960
Changed defaults. Now expiry is 10 minutes and socket named just as sock. 2023-01-08 17:04:20 +04:00
d7599bdf46
HTTP server moved to internal. DwellingCaptcha moved to pkg. 2023-01-08 17:00:19 +04:00
b155900579
GET / was changed to POST / for a new CAPTCHA creation. And now captcha db is being initialised in handlers. 2022-10-20 22:50:49 +04:00
ec10db27a5
A version increased to 1.1.1. And a version now is being passed from ldflags in a Makefile. 2022-08-17 21:49:57 +04:00
74b8c2d96a
Refactor of main.go to correct terms. 2022-06-26 20:43:18 +04:00
e30c3663d4
Removed passing of expiration time to HTTP handlers. 2022-06-26 15:46:49 +04:00
f0ced332e8
This validity check is reduntant. 2022-06-26 14:55:05 +04:00
1130568e39
Actually, this check is reduntant, move defering to network type check. 2022-06-26 14:54:11 +04:00
e9dc53e542
Defer unix-socket remove only if a unix-socket actually being used. 2022-06-26 14:50:39 +04:00
3685907891
Fixed a typo in path to unix-socket. 2022-06-26 14:45:21 +04:00
21b2f24986
Initial commit with a fully working program, lel. 2022-06-24 23:09:46 +04:00