discovery

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2020 License: Apache-2.0 Imports: 8 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(ctx context.Context, msg *choria.Message, request protocol.Request, conn choria.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