Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct { Name string MemoryController string Memory map[string]map[string]string Rules []string Endpoints []string Tick time.Duration }
Agent represents an agent config
func (*Agent) AddMemoryItem ¶
AddMemoryItem parses a memory item string and adds it to the agent
func (*Agent) SetMemoryController ¶
SetMemoryController sets a memory controller for the agent
func (*Agent) ToAgentConfiguration ¶
func (a *Agent) ToAgentConfiguration() *schema.AgentConfiguration
ToAgentConfiguration converts the current agent to a valid schema AgentConfiguration
Click to show internal directories.
Click to hide internal directories.