node

package
v0.3.1-beta.1 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2022 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeManager

type NodeManager struct {
	node.UnimplementedNodeManagerServer

	proxy.Proxy
	// contains filtered or unexported fields
}

func NewNodeManager

func NewNodeManager(configPath string) (n *NodeManager)
func (n *NodeManager) DeleteLinks(_ context.Context, s *node.LinkReq) (*emptypb.Empty, error)

func (*NodeManager) DeleteNode

func (n *NodeManager) GetLinks(ctx context.Context, in *emptypb.Empty) (*node.GetLinksResp, error)

func (*NodeManager) GetManager

func (*NodeManager) GetNode

func (*NodeManager) Latency

func (n *NodeManager) Latency(c context.Context, req *node.LatencyReq) (*node.LatencyResp, error)

func (*NodeManager) Now

func (n *NodeManager) SaveLinks(_ context.Context, l *node.SaveLinkReq) (*emptypb.Empty, error)

func (*NodeManager) SaveNode

func (n *NodeManager) SaveNode(c context.Context, p *node.Point) (*node.Point, error)
func (n *NodeManager) UpdateLinks(c context.Context, req *node.LinkReq) (*emptypb.Empty, error)

func (*NodeManager) Use

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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