Common
Common
module provides some useful utils:
shared
common/shared/src/main/scala/jbok/common/log
is a wrapper ofscribe
logger, add acats.effect.Sync
basically.common/shared/src/main/scala/jbok/common/metrics
contains a generalMetrics
interface and syntax. The default backend now isPrometheus
.
jvm specific
common/jvm/src/main/scala/jbok/common/FileUtil
it should implements all common file operations(e.g. open, read, write, remove, lock, temporaryFile, etc.).common/jvm/src/main/scala/jbok/common/config
provides a common entry for reading and dumping config file fromString
,*.json
and*.yaml
.