Commit Graph

31 Commits

Author SHA1 Message Date
107edacc04 removed redundancies 2024-07-31 11:28:41 -04:00
8c2e4ed926 refactor more main funcs 2024-07-30 11:51:05 -04:00
ba95bc849b configuration refactor 2024-07-30 11:27:38 -04:00
d4f486b45d added ws close on error 2024-07-30 09:31:26 -04:00
b312dfe480 event deletion per kind5 added 2024-07-27 15:47:37 -04:00
9bab1e3a0a removed NOTICE responses from kind handling 2024-07-27 15:19:48 -04:00
9edd7f6337 SendClosed func moved to response package 2024-07-27 15:14:51 -04:00
a7518e83a5 added sendClose Func in req 2024-07-27 10:50:04 -04:00
ffbfe76b42 refactored kind server responses 2024-07-27 10:06:34 -04:00
77f3e0314d event size limits 2024-07-26 16:46:01 -04:00
4c5375a429 config example changed, some comments removed 2024-07-26 10:40:31 -04:00
f8138cb2cb working rate limits! 2024-07-26 10:02:34 -04:00
8956eeea63 rearranged some limiter structs 2024-07-25 21:33:42 -04:00
8287508388 refactored some config/limiter orders 2024-07-25 16:43:46 -04:00
7365ef5c11 refactored ok and notice response 2024-07-25 10:19:42 -04:00
8c83d7333b throw out unknown kinds 2024-07-25 10:05:33 -04:00
d5f2366ff8 fix category rate limits 2024-07-25 09:57:24 -04:00
4920f61a99 configurable rate limit by category of event type 2024-07-25 09:03:34 -04:00
80e80c4215 added configurable rate limits 2024-07-24 23:04:26 -04:00
a61c539c54 properly handling serving websocket and frontend at the same time 2024-07-24 22:09:54 -04:00
bde60b7046 sendNotice moved to own file 2024-07-24 17:10:20 -04:00
0dd29c5bcb sendOK refactored, moved to own file 2024-07-24 17:00:59 -04:00
1249c6cb82 move kind handlers inside the handlers package 2024-07-24 16:56:04 -04:00
231fdc6aa9 handle kind 4-45 and kind2 2024-07-24 16:54:11 -04:00
990e47eb2b handling all kinds based on number with replaceable, regular and replaceable parameterized in addition to explicity handling kinds 2024-07-24 16:37:55 -04:00
d7631ff91a removed capital Error to conform to Go Static Check 2024-07-24 10:16:26 -04:00
8ad674401b only upserting kind0 event if created at is newer 2024-07-24 10:04:45 -04:00
4389be4009 handling requests and subscriptions properly 2024-07-24 07:51:27 -04:00
44636c95d9 frontend added from GoStart scaffolf 2024-07-23 16:40:39 -04:00
45d38b45a4 moved handlers into their own package with seperate go files for each 2024-07-23 13:57:21 -04:00
81d73a5ec3 server package renamed relay 2024-07-23 13:30:29 -04:00