Documentation
¶
Overview ¶
Package config provides configuration management for CoreMCP. It supports YAML configuration files and environment variables.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Server ServerConfig `mapstructure:"server"`
Logging LoggingConfig `mapstructure:"logging"`
Sources []SourceConfig `mapstructure:"sources"`
}
Config represents the complete CoreMCP configuration.
func LoadConfig ¶
LoadConfig loads the CoreMCP configuration from a YAML file. It supports environment variables with COREMCP_ prefix and provides sensible defaults. The path parameter can be a directory or a full file path.
type LoggingConfig ¶
Click to show internal directories.
Click to hide internal directories.