Versions in this module Expand all Collapse all v1 v1.6.0 Dec 11, 2025 Changes in this version + func Bool(v bool) *bool + func BoolValue(p *bool) bool + func BoolValueOr(p *bool, defaultVal bool) bool + func ClearConfigCache() + func ConfigCacheSize() int + func GetDefaultConfigPaths() []string + func InvalidateConfigCache(path string) + func ResetConfigCacheStats() + func ToLSPInitializationOptions(c *Config) map[string]interface + func ToLSPSettings(c *Config) map[string]interface + func ValidateLSPValue(section, key string, value interface{}) error + type AnalyzeConfig struct + All *bool + Complexity *bool + Performance *bool + Security *bool + type Config struct + Analyze AnalyzeConfig + Format FormatConfig + LSP LSPConfig + Output OutputConfig + Server ServerConfig + Source string + Validation ValidationConfig + func DefaultConfig() *Config + func FromLSPSettings(settings map[string]interface{}) (*Config, error) + func LoadFromEnvironment(prefix string) (*Config, error) + func LoadFromFile(path string) (*Config, error) + func LoadFromFileCached(path string) (*Config, error) + func LoadFromFiles(searchPaths []string) (*Config, error) + func LoadFromLSPInitOptions(opts interface{}) (*Config, error) + func LoadWithDefaults(configFile string, useEnv bool) (*Config, error) + func Merge(configs ...*Config) *Config + func MergeLSPConfig(base *Config, changes interface{}) (*Config, error) + func (c *Config) ApplyDefaults() + func (c *Config) Clone() *Config + func (c *Config) Validate() error + type ConfigCacheStats struct + Evictions uint64 + HitRate float64 + Hits uint64 + MaxSize int + Misses uint64 + Size int + TTL time.Duration + func GetConfigCacheStats() ConfigCacheStats + type FormatConfig struct + Compact *bool + Indent int + MaxLineLength int + UppercaseKeywords *bool + type LSPConfig struct + MaxContentLength int + MaxDocumentSize int + RateLimitRequests int + RateLimitWindow time.Duration + RequestTimeout time.Duration + TraceServer string + type LSPConfigSection struct + DefaultValue interface{} + Description string + Properties map[string]interface{} + Section string + func GetLSPConfigSections() []LSPConfigSection + type OutputConfig struct + Format string + Verbose *bool + type SecurityConfig struct + MaxFileSize int64 + type ServerConfig struct + LogFile string + LogLevel string + MetricsEnabled *bool + ShutdownTimeout time.Duration + type ValidationConfig struct + Dialect string + Pattern string + Recursive *bool + Security SecurityConfig + StrictMode *bool