|
8221da67eb
|
Switched ID and Created fields of a reply in Exec().
|
2022-10-21 04:28:55 +04:00 |
|
|
121c3ff8fd
|
Implemented Count() and update and delete methods.
|
2022-10-21 04:25:15 +04:00 |
|
|
056985799f
|
Added Update() handler. A little reorganising in Entries().
|
2022-10-21 04:24:07 +04:00 |
|
|
57879522a1
|
Added PUT endpoints in main.
|
2022-10-21 04:22:26 +04:00 |
|
|
005330ff2c
|
Added new sql statements. In new reply entry_id and created swapped places.
|
2022-10-21 04:22:07 +04:00 |
|
|
49a92151e4
|
In entryGetAll.sql entry.message moved next to name.
|
2022-10-21 04:20:53 +04:00 |
|
|
d5b850d36b
|
Added log for a fail of retrieving entries. Added error handling and log for entries JSON encoding.
|
2022-10-21 03:22:57 +04:00 |
|
|
a000d1edad
|
Added PUT method to HttpServer.
|
2022-10-21 03:21:53 +04:00 |
|
|
bdcf5fbf63
|
Test shell script removed.
|
2022-10-21 03:21:37 +04:00 |
|
|
82a135cf1e
|
Removed 404 for GET /. 204 changed to 201 for POST /:entry/reply. Specified 404 for DELETE /:entry/reply.
|
2022-10-21 03:21:05 +04:00 |
|
|
2784b0e70e
|
Moved justcaptcha package. Added a comment for CheckCaptcha() func.
|
2022-10-21 03:04:05 +04:00 |
|
|
6aa2bd10ff
|
Made use of http.Error(). Removed error return from New() func. Added StatusCreated header to Reply() method.
|
2022-10-21 03:03:05 +04:00 |
|
|
059efc4004
|
Args website and message has swapped their places.
|
2022-10-21 03:01:01 +04:00 |
|
|
daaf872049
|
Currently only regular TCP connections to captcha service supported.
|
2022-10-21 03:00:24 +04:00 |
|
|
9243ad4bbd
|
A little more informative log. Error removed from handlers because it doesn't return them. :)
|
2022-10-21 02:59:34 +04:00 |
|
|
c6e719b5c1
|
Initial commit.
|
2022-10-19 03:25:43 +04:00 |
|