Documentation
¶
Overview ¶
Package registry persists REST-registered agents (operational key + TCP target).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct {
AID a2al.Address
ServiceTCP string
OpPriv ed25519.PrivateKey
DelegationCBOR []byte
Seq uint64
// Services lists published service payloads for auto-renewal (user-facing name for DHT topics).
Services []ServiceRecord
}
Entry is one registered application agent (not the node identity).
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry is a file-backed map of agent AID → registration.
type ServiceRecord ¶
type ServiceRecord struct {
Topic string `json:"topic"`
Name string `json:"name,omitempty"`
Protocols []string `json:"protocols,omitempty"`
Tags []string `json:"tags,omitempty"`
Brief string `json:"brief,omitempty"`
Meta map[string]any `json:"meta,omitempty"`
TTL uint32 `json:"ttl,omitempty"`
}
ServiceRecord persists a published service (full payload) for auto-renewal. JSON key is "services" to align with user-facing terminology.
Click to show internal directories.
Click to hide internal directories.