Documentation
¶
Index ¶
- type Nodes
- func (n *Nodes) Conn(host proxy.Address) (net.Conn, error)
- func (n *Nodes) DeleteLinks(_ context.Context, s *node.LinkReq) (*emptypb.Empty, error)
- func (n *Nodes) DeleteNode(_ context.Context, s *wrapperspb.StringValue) (*emptypb.Empty, error)
- func (n *Nodes) GetLinks(ctx context.Context, in *emptypb.Empty) (*node.GetLinksResp, error)
- func (n *Nodes) GetManager(context.Context, *wrapperspb.StringValue) (*node.Manager, error)
- func (n *Nodes) GetNode(_ context.Context, s *wrapperspb.StringValue) (*node.Point, error)
- func (n *Nodes) Latency(c context.Context, req *node.LatencyReq) (*node.LatencyResp, error)
- func (n *Nodes) Now(context.Context, *emptypb.Empty) (*node.Point, error)
- func (n *Nodes) PacketConn(host proxy.Address) (net.PacketConn, error)
- func (n *Nodes) SaveLinks(_ context.Context, l *node.SaveLinkReq) (*emptypb.Empty, error)
- func (n *Nodes) SaveNode(c context.Context, p *node.Point) (*node.Point, error)
- func (n *Nodes) UpdateLinks(c context.Context, req *node.LinkReq) (*emptypb.Empty, error)
- func (n *Nodes) 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 Nodes ¶
type Nodes struct {
node.UnimplementedNodeManagerServer
// contains filtered or unexported fields
}
func (*Nodes) DeleteLinks ¶
func (*Nodes) DeleteNode ¶
func (n *Nodes) DeleteNode(_ context.Context, s *wrapperspb.StringValue) (*emptypb.Empty, error)
func (*Nodes) GetManager ¶
func (n *Nodes) GetManager(context.Context, *wrapperspb.StringValue) (*node.Manager, error)
func (*Nodes) GetNode ¶
func (n *Nodes) GetNode(_ context.Context, s *wrapperspb.StringValue) (*node.Point, error)
func (*Nodes) Latency ¶
func (n *Nodes) Latency(c context.Context, req *node.LatencyReq) (*node.LatencyResp, error)
func (*Nodes) PacketConn ¶
func (*Nodes) UpdateLinks ¶
func (*Nodes) Use ¶
func (n *Nodes) Use(c context.Context, s *wrapperspb.StringValue) (*node.Point, error)
Click to show internal directories.
Click to hide internal directories.