Aleksandr Tolstikhin
e444d0f0f6
Coverage default.go
Go / test (pull_request) Has been cancelled
lint / lint (pull_request) Has been cancelled
pr / test (pull_request) Has been cancelled
2024-04-05 14:28:05 +07:00
6e24807edf
config/default: add micro:generate uuid/id
...
lint / lint (pull_request) Failing after 1m28s
pr / test (pull_request) Failing after 2m43s
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-07-13 20:10:47 +03:00
819ad1117a
cleanup interfaces for v4
...
lint / lint (pull_request) Successful in 1m9s
pr / test (pull_request) Failing after 1m4s
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-05-09 20:04:15 +03:00
ebd8ddf05b
move to v4
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-04-11 22:21:25 +03:00
98db0dc8bc
config/default: handle time.Duration
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-02-07 06:47:46 +03:00
c64218d52c
config: add Validate func, small lint fixes
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2022-03-22 14:54:43 +03:00
5eb0e56373
move all imports to own domain
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-10-02 19:55:07 +03:00
ecb60e4dc5
fix lint
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-09-28 23:43:43 +03:00
ea16f5f825
config/default: not implement watcher as it cant change
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-08-04 16:04:58 +03:00
c2f34df493
config: minor changes to split config and watcher files
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-08-04 13:51:43 +03:00
f47fbb1030
config: add jitter interval for watcher to avoid dos
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-08-04 00:37:56 +03:00
fa8fb3aed7
fixes and improvements ( #55 )
...
* util/router: sync from github
* config: add watcher interface
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-08-03 00:24:40 +03:00
86626c5922
fieldalignment of all structs to save memory
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-04-27 08:32:47 +03:00
150e8ad698
config: improve and export helper func
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-12-19 23:22:05 +03:00
035a84e696
config: fix tests
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-12-18 03:50:52 +03:00
06c3cd6637
config: fix default config loader
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-12-13 19:28:29 +03:00
2dcd30b21c
add defaut config parser
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-12-13 13:17:38 +03:00
a7a3c679d1
config: load defaults
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-12-13 13:10:04 +03:00
5279c2aa0f
config package rework ( #9 )
...
* change config interface
* reuse codec
* allow to modify next config based on values in current config via BeforeLoad
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-12-04 02:28:45 +03:00
8076e410a9
fix repocard issues ( #20 )
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-08-25 14:33:36 +03:00
0f4b1435d9
move implementations to external repos ( #17 )
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-08-25 13:44:41 +03:00
c4a303190a
lint fixes ( #14 )
...
* lint fixes
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-08-21 14:53:21 +03:00
06136312bb
regen files with never protoc ( #6 )
...
* regen files with never protoc
* rewrite import path
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-08-19 17:47:17 +03:00
Asim Aslam
563768b58a
v3 refactor ( #1868 )
...
* Move to v3
Co-authored-by: Ben Toogood <bentoogood@gmail.com>
2020-07-27 13:22:00 +01:00
sunfuze
2efb459c66
Fix config watch ( #1670 )
...
* add dirty overrite test case
* need version to figure out if config need update or not
* using nanosecond as version for two goroutine can run in same second
* config should check snapshot version when update
* set checksum of ChangeSet
Co-authored-by: Asim Aslam <asim@aslam.me>
2020-06-16 17:10:52 +01:00
Lars Lehtonen
80f2bfd5d0
config: remove unused sep variable ( #1262 )
2020-02-26 08:25:33 +00:00
f23638c036
fix import paths for v2 release
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-01-30 14:44:40 +03:00
Allenxuxu
a82fd19209
handle Loader.Load return value error
2020-01-19 16:31:02 +08:00
Milos Gajdos
86f0c06fac
Removed filewatch counter test.
2019-08-21 11:26:41 +01:00
Milos Gajdos
4ea27517b5
Source watcher ErrStoppedWatcher and fixed test
2019-08-20 22:32:47 +01:00
Shu Xian
2413cbcd80
fix file watcher event bug on Linux
...
the watcher can not normally get events of file changes on linux. it just can get the first two changes.
2019-08-19 15:28:24 +08:00
Asim Aslam
2b5bf1154a
rename config tests
2019-07-28 19:52:01 +01:00
Asim Aslam
5e6491b7b0
add config
2019-05-30 23:11:13 +01:00