Commit graph

159 commits

Author SHA1 Message Date
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
2a188cfa1a move appcontext implementation to separate source file 2023-06-04 13:39:08 +02:00
34ee4641dc move Context implementations to lib/context sub-package 2023-06-04 12:51:50 +02:00
aec3446d75 provide separate app package for top-level appllication component 2023-06-04 11:19:55 +02:00
2f1efc9731 rename package common to lib 2023-06-04 09:43:31 +02:00
d9e109e3a5 implement Context interface from standard library 2023-06-03 17:21:34 +02:00
bcbf567a7a code clean-up; use standardized Run... functions for async calls 2023-06-03 16:53:20 +02:00
7d8d9abe54 app start as Goroutine basically working 2023-06-03 15:53:30 +02:00
c6aa6afae2 app start as Goroutine basically working 2023-06-03 15:52:30 +02:00
0f0ed437d9 work in progress: use go routines for app (and testing) 2023-06-03 14:49:35 +02:00
92cefca3cb testing: use testing.Start as app starter 2023-06-03 11:44:32 +02:00
4119d61c56 some code improvements and rearrangements 2023-06-03 09:16:24 +02:00
9797c3515a services map as own type; function makeCtx; record context children 2023-06-03 08:41:55 +02:00