Documentation
¶
Index ¶
- type NodeManager
- func (n *NodeManager) DeleteLinks(_ context.Context, s *node.LinkReq) (*emptypb.Empty, error)
- func (n *NodeManager) DeleteNode(_ context.Context, s *wrapperspb.StringValue) (*emptypb.Empty, error)
- func (n *NodeManager) GetLinks(ctx context.Context, in *emptypb.Empty) (*node.GetLinksResp, error)
- func (n *NodeManager) GetManager(context.Context, *wrapperspb.StringValue) (*node.Manager, error)
- func (n *NodeManager) GetNode(_ context.Context, s *wrapperspb.StringValue) (*node.Point, error)
- func (n *NodeManager) Latency(c context.Context, req *node.LatencyReq) (*node.LatencyResp, error)
- func (n *NodeManager) Now(context.Context, *emptypb.Empty) (*node.Point, error)
- func (n *NodeManager) SaveLinks(_ context.Context, l *node.SaveLinkReq) (*emptypb.Empty, error)
- 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 (n *NodeManager) Use(c context.Context, s *wrapperspb.StringValue) (*node.Point, error)
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 (*NodeManager) DeleteLinks ¶
func (*NodeManager) DeleteNode ¶
func (n *NodeManager) DeleteNode(_ context.Context, s *wrapperspb.StringValue) (*emptypb.Empty, error)
func (*NodeManager) GetLinks ¶
func (n *NodeManager) GetLinks(ctx context.Context, in *emptypb.Empty) (*node.GetLinksResp, error)
func (*NodeManager) GetManager ¶
func (n *NodeManager) GetManager(context.Context, *wrapperspb.StringValue) (*node.Manager, error)
func (*NodeManager) GetNode ¶
func (n *NodeManager) GetNode(_ context.Context, s *wrapperspb.StringValue) (*node.Point, error)
func (*NodeManager) Latency ¶
func (n *NodeManager) Latency(c context.Context, req *node.LatencyReq) (*node.LatencyResp, error)
func (*NodeManager) SaveLinks ¶
func (n *NodeManager) SaveLinks(_ context.Context, l *node.SaveLinkReq) (*emptypb.Empty, error)
func (*NodeManager) UpdateLinks ¶
func (*NodeManager) Use ¶
func (n *NodeManager) Use(c context.Context, s *wrapperspb.StringValue) (*node.Point, error)
Click to show internal directories.
Click to hide internal directories.