config

package
v1.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	MCPConfigPath string
	OpenAIKey     string
	Port          int
}

Config holds application configuration

func New

func New() *Config

New creates a new Config with default values

func (*Config) LoadFromEnv

func (c *Config) LoadFromEnv()

LoadFromEnv loads configuration from environment variables

func (*Config) LoadMCPClient

func (c *Config) LoadMCPClient() (*client.MCP, error)

LoadMCPClient loads the MCP client configuration from file

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL