Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AgentClient ¶
type AgentClient struct {
// contains filtered or unexported fields
}
AgentClient encapsulates a Marconi service agent
var Agent *AgentClient
func NewAgentClient ¶
func NewAgentClient(conf *AgentConfig) *AgentClient
Return a new instance of AgentClient
func (*AgentClient) HandleRpcNodeFinderCheck ¶
func (agent *AgentClient) HandleRpcNodeFinderCheck() string
RPC to act as a health check for the node.
func (*AgentClient) Start ¶
func (agent *AgentClient) Start()
Start the agent daemon, connections will be created when peers are registered to this node
type AgentClientService ¶
type AgentClientService struct{}
func (*AgentClientService) NodeFinderCheckRPC ¶
func (a *AgentClientService) NodeFinderCheckRPC(r *http.Request, args *NodeFinderCheckArgs, reply *NodeFinderCheckReply) error
type AgentConfig ¶
type AgentConfig struct { BaseRouteBeaconKeyFilePath string EdgeRouteBeaconKeyFilePath string L2KeyFilePath string BaseDir string }
Configuration object for a Marconi agent
type NodeFinderCheckArgs ¶
type NodeFinderCheckArgs struct{}
type NodeFinderCheckReply ¶
type NodeFinderCheckReply struct {
EdgeBeaconKey string
}
Click to show internal directories.
Click to hide internal directories.