Commit graph

150 commits

Author SHA1 Message Date
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
87ff5d5d93 improve testing for correct set up of application (context) structure 2023-06-02 19:41:51 +02:00
e30052b297 basic context implementations + start of component instances 2023-06-02 12:19:23 +02:00
ca37aead92 rename/reorganize access to overridable settings 2023-06-02 10:13:27 +02:00
f896adfb8c config settings, overridable by settings.go or env (SCOPES_...) settings 2023-06-02 09:31:37 +02:00
968bdc925d provide basic Context interface and StartFct for components 2023-06-01 17:13:17 +02:00
035090bb04 set up config structure in etc 2023-06-01 15:54:27 +02:00
82723c8c80 provide Config interface with basic implementation 2023-06-01 12:11:28 +02:00
87e9bb5fc4 provide 'testing' package and a first simple test for config 2023-06-01 09:35:05 +02:00
c42569e7b0 initial import 2023-05-31 22:38:48 +02:00