Commit graph

121 commits

Author SHA1 Message Date
235ba65c64 fix logging for unit tests 2023-07-08 08:20:47 +02:00
e072e493a1 action handling: smarter testing with handler generator 2023-07-07 19:38:33 +02:00
2908b82f29 action handling: minor improvements, tests 2023-07-07 19:28:50 +02:00
5aa1cc07b6 do the real matching: message <-> pattern 2023-07-07 13:10:41 +02:00
a2a47293a8 store pattern as a slice of strings 2023-07-07 12:59:35 +02:00
4c174217d1 work in progess: action handling; start with simple test 2023-07-07 11:41:25 +02:00
4ad87d635c payload improvements: methods, conversions 2023-07-05 15:10:52 +02:00
31bdedc031 produce payload object from JSON 2023-07-05 12:03:46 +02:00
b4d9338353 message with payload (serializable as JSON) 2023-07-05 09:40:00 +02:00
b813dd40db message interface and implementation bascically working 2023-07-04 16:55:25 +02:00
8d8b64f8e7 work in progress: message: interfaces, implementations 2023-07-04 07:46:05 +02:00
b1cd65ea05 move address implementation to separate source file 2023-07-03 12:21:02 +02:00
e1bc2322f3 Address: interface and implementation 2023-07-02 14:54:38 +02:00
ea91a0486e server: minor improvements of logger middleware 2023-07-01 19:33:13 +02:00
4e06072d96 use zerolog logger for gin server 2023-07-01 14:18:11 +02:00
c6ac480ad7 client component (Send) basically working 2023-06-30 10:11:17 +02:00
c6d5fafa7d start working on client component 2023-06-29 22:36:26 +02:00
bed55a63a2 minor renamings; use generic functions for access to state and config data via type assertions 2023-06-29 17:39:48 +02:00
fb423d795d work in progress: server component (using gin) 2023-06-29 12:24:47 +02:00
7fcf4749ab logging: provide (and use) functions with context information 2023-06-28 16:34:11 +02:00
86d6f2cfcb work in progress: logging: setting up context-dependent events 2023-06-28 11:21:28 +02:00
ea393bbb58 pretty listing of log data for testing 2023-06-27 19:49:07 +02:00
68f937042c check log: count and optionally print log records 2023-06-27 17:32:07 +02:00
9dc12deb19 remove all print statemens - use log.Debug() (or Info()) where appropriate 2023-06-27 10:19:13 +02:00
e063bb1b03 logging config: +level; avoid import cycle 2023-06-27 08:55:26 +02:00
8dad97f6be work in progress: logging config: evaluate Level setting 2023-06-26 21:00:53 +02:00
348478c220 more on logging... 2023-06-26 19:39:23 +02:00
4549cb3be3 improve logging set-up: return pointer, log set-up errors 2023-06-26 14:07:47 +02:00
2295213a4a logging set-up basically working 2023-06-26 11:22:46 +02:00
fe4cdbb3b8 work in progress: logging with zerolog 2023-06-26 10:29:57 +02:00
82deb2c7f2 more minor config improvements 2023-06-25 14:54:23 +02:00
c241c8ff73 config: rename items in etc; more flexible Add/AddAction methods 2023-06-25 10:49:28 +02:00
2712f3cb38 redefine logging Config to Cfg 2023-06-24 10:37:24 +02:00
72abf7cc0f rename config base stuff, + some minor refactorings 2023-06-24 10:30:19 +02:00
2141e41241 work in progress: logging 2023-06-14 19:20:16 +02:00
3455b409fb work in progress: logging - set up log config workflow for testing and main 2023-06-08 16:50:52 +02:00
e66b1c0364 work in progress: use zerolog for logging 2023-06-08 13:22:47 +02:00
d7d00b6bba minor fixes - message forwarding and test OK 2023-06-07 19:02:32 +02:00
08263df110 move HandleMsg() to lib 2023-06-07 17:37:39 +02:00
d37db07942 minor refactorings 2023-06-07 17:31:03 +02:00
8b0230da3b message forwarding basically working 2023-06-07 15:35:02 +02:00
5c6a7c76d8 work in progress: action handling 2023-06-07 14:29:22 +02:00
5e60c3e10b add basic action specification 2023-06-07 13:41:35 +02:00
9ecbf7d7e9 set up config structure for specifying actions 2023-06-07 09:59:08 +02:00
15eacddeed fix core.Start() 2023-06-07 09:00:54 +02:00
a02061b6c5 basic Send() functionality 2023-06-06 09:53:27 +02:00
35799f8d6c use special Quit message for stopping app; check Done channel 2023-06-06 08:36:01 +02:00
22e8759369 work in progress: set up standard (core) processing chain (Step, HandleMessage, ...) 2023-06-05 18:33:21 +02:00
c182385353 starting with the simplest message implementation: just string 2023-06-04 19:36:24 +02:00
1cd31ffb48 work in progress: set up types for message processing 2023-06-04 15:34:25 +02:00