Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFromEnv ¶
func NewFromFile ¶
Types ¶
type Config ¶
type Config struct {
Logger LoggerConfig `toml:"logger"`
OpenAI OpenAIConfig `toml:"openai"`
Server ServerConfig `toml:"server"`
}
type LoggerConfig ¶
type OpenAIConfig ¶
type ServerConfig ¶
type ServerConfig struct {
Port int `toml:"port"`
}
Click to show internal directories.
Click to hide internal directories.