fetcher

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewA2AFileFetcher

func NewA2AFileFetcher(path string) (*a2aFileFetcher, error)

NewA2AFileFetcher creates a fetcher that reads A2A agent card(s) from a file. Supported formats:

  • A JSON array of AgentCard objects
  • A single AgentCard object

Each card is emitted as types.SourceItem with Kind SourceKindA2A and the AgentCard as structpb.Struct.

func NewAgentSkillDirFetcher

func NewAgentSkillDirFetcher(path string) (*agentSkillDirFetcher, error)

NewAgentSkillDirFetcher creates a fetcher that reads a single skill from a directory path.

func NewMCPFileFetcher

func NewMCPFileFetcher(path string) (*mcpFileFetcher, error)

NewMCPFileFetcher creates a fetcher that reads one or more MCP servers from a file. Supported formats:

  • A JSON array of ServerResponse
  • A single bare ServerJSON object (wrapped as ServerResponse)

func NewMCPRegistryFetcher

func NewMCPRegistryFetcher(baseURL string, filters map[string]string, limit int) (*mcpRegistryFetcher, error)

NewMCPRegistryFetcher creates a fetcher for the MCP HTTP registry.

Types

This section is empty.

Jump to

Keyboard shortcuts

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