rpc

package
v0.0.0-...-a55ed6e Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TransportType is the name of this transport
	TransportType = "grpc"
	// Connected indicates a connected endpoint
	Connected = EndpointState(iota)
	// Disconnected indicates a disconnected endpoint
	Disconnected
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentEndpoint

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

AgentEndpoint represents the agent side of a data mover connection

func (*AgentEndpoint) Send

func (ep *AgentEndpoint) Send(action *agent.Action)

Send delivers an agent action to the backend

type EndpointState

type EndpointState int

EndpointState represents the connectedness state of an Endpoint

Jump to

Keyboard shortcuts

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