Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Service ¶
type Service interface { // MCP Server Management AddMCPServer(name, url string) (*models.MCPServer, error) ListMCPServers() ([]models.MCPServer, error) GetMCPServer(id int64) (*models.MCPServer, error) RemoveMCPServer(id int64) error UpdateMCPServerStatus(id int64, state models.ConnectionState, errStr *string) error UpdateMCPServer(id int64, name, url string) (*models.MCPServer, error) // Tool Management ProcessFetchedTools(serverID int64, fetchedTools []models.FetchedTool) (added int, updated int, err error) }
Service defines the interface for backend operations. This interface abstracts the data storage and business logic.
func NewService ¶
NewService creates a new backend service instance.
Directories
¶
Path | Synopsis |
---|---|
Package database provides database interactions using sqlx.
|
Package database provides database interactions using sqlx. |
Package models defines the data structures used by the agent-browser application.
|
Package models defines the data structures used by the agent-browser application. |
Click to show internal directories.
Click to hide internal directories.