Commit Graph

114 Commits

Author SHA1 Message Date
Joel Wetzell 0b494fce91 rework module shutdown process to cancel module context in defer 2026-05-27 20:50:33 -05:00
Joel Wetzell 52ca801fbd add context to keyvaluemodule get/set 2026-05-27 18:30:23 -05:00
Joel Wetzell 80f8152dfb don't export module/processor/framer registrations 2026-05-26 17:27:35 -05:00
Joel Wetzell 4323a21015 move init functions to top of file 2026-05-22 17:45:03 -05:00
Joel Wetzell 4cedd58a76 switch modules to accept an InputHandler instead of the full router 2026-05-20 21:03:41 -05:00
Joel Wetzell 70c4aa172a add test for reading from sqlite file 2026-05-20 17:26:50 -05:00
Joel Wetzell 7c8695b9fe start working on startup tests for modules 2026-05-19 21:56:04 -05:00
Joel Wetzell 5db23627d6 add constructor for test module type 2026-05-19 21:55:43 -05:00
Joel Wetzell 06a2a156c5 remove unused router level output 2026-05-19 21:46:48 -05:00
Joel Wetzell a09249a047 convert nats and mqtt to a generic pub/sub module type 2026-05-19 21:25:29 -05:00
Joel Wetzell 11bbf1a703 rework database module to not expose raw DB 2026-05-19 12:33:54 -05:00
Joel Wetzell 4415b8e892 cleanup logging 2026-05-18 18:42:37 -05:00
Joel Wetzell 95d46d0acd rework context handling throughout router and modules 2026-05-18 18:25:36 -05:00
Joel Wetzell 9125b323ff add read header timeout to http servers 2026-05-17 10:03:48 -05:00
Joel Wetzell ad4aa91e08 minor linting things 2026-05-17 09:50:08 -05:00
Joel Wetzell 4bdfe0b00a add error return to database module 2026-05-17 09:50:01 -05:00
Joel Wetzell e5c8e01bf0 close serial client more reliably 2026-05-17 08:37:11 -05:00
Joel Wetzell 91063f50da better port error message for serial.client 2026-05-17 08:35:59 -05:00
Joel Wetzell acb834405e fix params schema for serial.client 2026-05-17 07:53:20 -05:00
Joel Wetzell fa4997ba78 fix websocket connection disconnect and auto reconnect 2026-05-13 19:59:30 -05:00
Joel Wetzell 58ffc6a12b add websocket.client module 2026-05-13 19:11:48 -05:00
Joel Wetzell 7367f55fa9 chore: go fix 2026-05-09 13:37:02 -05:00
Joel Wetzell 833bd529d6 pull all non-request scoped values out of context 2026-05-06 21:33:16 -05:00
Joel Wetzell 984cb435d5 work towards decoupling api from router 2026-05-06 17:16:45 -05:00
Joel Wetzell f57f9d8ce5 fix additionProperties in JSONSchema and add IDs to everything 2026-03-30 20:58:39 -05:00
Joel Wetzell 882af2948a fix JSON schema of net.udp.server 2026-03-26 18:56:03 -05:00
Joel Wetzell 411888d8db align schema of udp server with reality 2026-03-26 15:13:26 -05:00
Joel Wetzell 6c9d1b317d cleanup redis logging 2026-03-23 20:16:09 -05:00
Joel Wetzell 9a50ca8cfe move schema to an internal package 2026-03-23 12:51:26 -05:00
Joel Wetzell 842495f010 generate json-schema dynamically in Go 2026-03-23 12:11:10 -05:00
Joel Wetzell 9843c116b2 move test implementations to a shared internal package 2026-03-22 22:39:29 -05:00
Joel Wetzell 60e9253b51 add registry and config tests for db.sqlite and redis.client 2026-03-22 20:40:37 -05:00
Joel Wetzell 5f056496ce remove Output function from non-output modules 2026-03-22 20:03:50 -05:00
Joel Wetzell 012c416432 use GetAnyAsByteSlice whenever possible 2026-03-18 21:57:21 -05:00
Joel Wetzell 2fbca6209e make an OutputModule interface and remove output from modules that don't implement it 2026-03-18 16:24:19 -05:00
Joel Wetzell 3f4271b5ef add module and processor for interacting with SQLite DB 2026-03-18 14:21:36 -05:00
Joel Wetzell 7e75fdb758 shift Get method to only key/value modules add Set method to redis.client 2026-03-18 12:53:50 -05:00
Joel Wetzell 2127c6fd5b move module interface to common package 2026-03-18 12:47:28 -05:00
Joel Wetzell 814bb9c1dc add redis client module 2026-03-16 17:17:49 -05:00
Joel Wetzell e996d84234 udpate module and route config error objects for JSON 2026-03-12 17:03:03 -05:00
Joel Wetzell 5a0f21bd64 move any helper methods to common and reuse for params getter 2026-03-10 18:14:30 -05:00
Joel Wetzell b7b05cbb77 make http client into a processor instead of module 2026-03-08 13:03:54 -05:00
Joel Wetzell b7a8b04a72 switch router output to be a processor instead of specific output per route 2026-03-04 21:21:11 -06:00
Joel Wetzell 078e6ec68c more detailed error message 2026-03-04 19:42:48 -06:00
Joel Wetzell 38b8e44f04 add sender to template data for relevant modules 2026-03-04 19:38:30 -06:00
Joel Wetzell 6a21cc2639 make method to get data out of a module 2026-03-04 12:35:15 -06:00
Joel Wetzell 0d4ec24a9b move context keys to common package 2026-03-04 12:33:35 -06:00
Joel Wetzell 34af7d7aec cleanup unnecessary use of floats 2026-03-02 12:34:06 -06:00
Joel Wetzell df14024012 add convenience method for casting payloads 2026-03-02 12:06:42 -06:00
Joel Wetzell c298f63ffc add convenience method to pull params from config 2026-03-01 14:57:19 -06:00