Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAPIHandlers ¶
GetAPIHandlers returns a map of all available API handlers
Types ¶
type App ¶
App represents the main application structure
func (*App) GetAvailableAPIs ¶
GetAvailableAPIs returns a list of available APIs
type ClaudeAPI ¶
type ClaudeAPI struct {
// contains filtered or unexported fields
}
ClaudeAPI implements the APIHandler interface for Claude API
func NewClaudeAPI ¶
NewClaudeAPI creates a new instance of ClaudeAPI
func (*ClaudeAPI) HandleQuery ¶
type ErrorAPI ¶
type ErrorAPI struct {
Err error
}
ErrorAPI is a placeholder API that returns an error message
func (*ErrorAPI) HandleQuery ¶
type GroqAPI ¶
type GroqAPI struct {
// contains filtered or unexported fields
}
GroqAPI implements the APIHandler interface for Groq API
func (*GroqAPI) HandleQuery ¶
type MockAPI ¶
type MockAPI struct {
Name string
}
MockAPI is a sample implementation of APIHandler
func (*MockAPI) HandleQuery ¶
type OpenAIAPI ¶
type OpenAIAPI struct {
// contains filtered or unexported fields
}
OpenAIAPI implements the APIHandler interface for OpenAI API
func NewOpenAIAPI ¶
NewOpenAIAPI creates a new instance of OpenAIAPI
func (*OpenAIAPI) HandleQuery ¶
Click to show internal directories.
Click to hide internal directories.