
The highest tagged major version is
v2.
package
Version:
v1.7.0
Opens a new window with list of versions in this module.
Published: Aug 25, 2026
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
SpecVersion = "1.0"
A2AAgentCardType = "application/a2a-agent-card+json"
)
type Catalog struct {
SpecVersion string `json:"specVersion"`
Host Host `json:"host"`
Entries []Entry `json:"entries"`
}
type Entry struct {
Identifier string `json:"identifier"`
DisplayName string `json:"displayName"`
Type string `json:"type"`
URL string `json:"url,omitempty"`
Data map[string]any `json:"data,omitempty"`
}
type Host struct {
DisplayName string `json:"displayName"`
Identifier string `json:"identifier,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.