Versions in this module Expand all Collapse all v0 v0.1.1 Mar 6, 2025 Changes in this version + type App struct + Service map[string]any + func LoadApp(filepath string, onChange func(e fsnotify.Event)) (*App, error) v0.1.0 Mar 4, 2025 Changes in this version + func BindPFlags() + func LoadDefault[T any](onChange func(e fsnotify.Event)) (*T, error) + func Load[T any](filepath string, cfg *T, onChange func(e fsnotify.Event)) error + type Basic struct + Configs []string + DB map[string]db.Config + Env enum.EnvType + LocalCache cache.LocalCacheConf + Logger logger.Config + Name string + Redis cache.RedisConf + Registry Transport + Security security.Config + Server struct{ ... } + Version string + type ServiceConfig struct + Service T + func LoadService[T any](filepath string, onChange func(e fsnotify.Event)) (*ServiceConfig[T], error) + type Transport struct + Addr string + Timeout types.Duration