mirror of
https://github.com/nabbar/golib.git
synced 2025-10-13 03:23:47 +08:00

- Add interface Errors to expose func for collection of errors Package Server: - Add runner packages for start/stop & ticker process launch in goroutines - Runner Start/Stop : register a start and a stop function called into a managment instance of goroutines, expose package Server interface - Runner Ticker : register a func periodycly called into a managment instance of goroutine with a time ticker, expose package server interface - Add tools function to run x times a function or periodicly with a check function Package HttpServer: - Remove old run managment instance and use new Start&Stop Runner instead self runner - Replace the poller in server start / stop with package server tools function - Adjust code following this change - Add in healthcheck a test of dialing to server binding network to perform the healthcheck - Remove WaitNotify funct (cannot having multiple of waitnotify in same app) : keep waitnotify function in package config Package Monitor: - Remove old running system to use package server/runner/ticker - Adjust code following Package Cobra : - Fix minor bug with writing configure - Optimize code Bump dependencies