Documentation ¶
Index ¶
Constants ¶
View Source
const NODE_RETRY_INTERVAL_MS = 3000
View Source
const NODE_SEARCH_INTERVAL_MS = 2000
View Source
const NUMBER_REQUESTED_TOP_NODES = 3
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentEdgeClient ¶
type AgentEdgeClient struct {
// contains filtered or unexported fields
}
func NewAgentEdgeClient ¶
func NewAgentEdgeClient(conf *AgentEdgeConfig) *AgentEdgeClient
Construct the agent edge client, given a config
func (*AgentEdgeClient) EstablishEdgeRoute ¶
func (agent *AgentEdgeClient) EstablishEdgeRoute(edgePKH string) error
Search for edge peer(s) and establish a route. Will only create one connection.
func (*AgentEdgeClient) Start ¶
func (agent *AgentEdgeClient) Start()
Start the edge client agent and establish an edge route
Click to show internal directories.
Click to hide internal directories.