Versions in this module Expand all Collapse all v0 v0.1.1 Jan 15, 2025 Changes in this version type ConfigOption + PreventAutoLoad bool v0.1.0 Oct 6, 2024 Changes in this version + var ConfigModule = gimbap.DefineModule(gimbap.ModuleOption{ ... }) + var ConfigServiceProvider = gimbap.DefineProvider(gimbap.ProviderOption{ ... }) + type ConfigOption struct + ConfigData map[string]interface{} + ConfigFilePathList []string + WatchConfigChange bool + type ConfigService struct + func NewConfigService(option ConfigOption) *ConfigService + func (c *ConfigService) Get(key string) interface{} + func (c *ConfigService) GetBool(key string) bool + func (c *ConfigService) GetDuration(key string) time.Duration + func (c *ConfigService) GetFloat64(key string) float64 + func (c *ConfigService) GetInt(key string) int + func (c *ConfigService) GetInt32(key string) int32 + func (c *ConfigService) GetInt64(key string) int64 + func (c *ConfigService) GetString(key string) string + func (c *ConfigService) GetStringMap(key string) map[string]interface{} + func (c *ConfigService) GetStringSlice(key string) []string