discovery

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

type Agent struct {
	// contains filtered or unexported fields
}

func New

func New(mgr server.AgentManager) (*Agent, error)

func (*Agent) HandleMessage

func (da *Agent) HandleMessage(_ context.Context, msg inter.Message, request protocol.Request, _ inter.ConnectorInfo, result chan *agents.AgentReply)

func (*Agent) Metadata

func (da *Agent) Metadata() *agents.Metadata

func (*Agent) Name

func (da *Agent) Name() string

func (*Agent) ServerInfo

func (da *Agent) ServerInfo() agents.ServerInfoSource

func (*Agent) SetServerInfo

func (da *Agent) SetServerInfo(agents.ServerInfoSource)

func (*Agent) ShouldActivate

func (da *Agent) ShouldActivate() bool

Jump to

Keyboard shortcuts

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