Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseInput ¶
ParseInput parses input string to extract URL and Key
Types ¶
type Config ¶
Config represents API configuration
type ConfigReader ¶
type ConfigReader struct {
// contains filtered or unexported fields
}
ConfigReader handles the configuration reading process
func NewConfigReader ¶
func NewConfigReader(input io.Reader, output io.Writer) *ConfigReader
NewConfigReader creates a new ConfigReader
func (*ConfigReader) ReadConfig ¶
func (r *ConfigReader) ReadConfig(defaultModel string) (*Config, error)
ReadConfig reads the configuration
Click to show internal directories.
Click to hide internal directories.