Documentation ¶
Index ¶
- type DagPoolServer
- func (s *DagPoolServer) Add(ctx context.Context, in *proto.AddReq) (*proto.AddReply, error)
- func (s *DagPoolServer) AddUser(ctx context.Context, in *proto.AddUserReq) (*proto.AddUserReply, error)
- func (s *DagPoolServer) Get(ctx context.Context, in *proto.GetReq) (*proto.GetReply, error)
- func (s *DagPoolServer) GetSize(ctx context.Context, in *proto.GetSizeReq) (*proto.GetSizeReply, error)
- func (s *DagPoolServer) QueryUser(ctx context.Context, in *proto.QueryUserReq) (*proto.QueryUserReply, error)
- func (s *DagPoolServer) Remove(ctx context.Context, in *proto.RemoveReq) (*proto.RemoveReply, error)
- func (s *DagPoolServer) RemoveUser(ctx context.Context, in *proto.RemoveUserReq) (*proto.RemoveUserReply, error)
- func (s *DagPoolServer) UpdateUser(ctx context.Context, in *proto.UpdateUserReq) (*proto.UpdateUserReply, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DagPoolServer ¶
type DagPoolServer struct { proto.UnimplementedDagPoolServer DagPool pool.DagPool }
DagPoolServer is used to implement DagPoolServer.
func (*DagPoolServer) AddUser ¶
func (s *DagPoolServer) AddUser(ctx context.Context, in *proto.AddUserReq) (*proto.AddUserReply, error)
AddUser is used to add a user to the dag pool server
func (*DagPoolServer) GetSize ¶
func (s *DagPoolServer) GetSize(ctx context.Context, in *proto.GetSizeReq) (*proto.GetSizeReply, error)
GetSize is used to get the size of the block
func (*DagPoolServer) QueryUser ¶
func (s *DagPoolServer) QueryUser(ctx context.Context, in *proto.QueryUserReq) (*proto.QueryUserReply, error)
QueryUser is used to query a user from the dag pool server
func (*DagPoolServer) Remove ¶
func (s *DagPoolServer) Remove(ctx context.Context, in *proto.RemoveReq) (*proto.RemoveReply, error)
Remove is used to remove a block from the dag pool server
func (*DagPoolServer) RemoveUser ¶
func (s *DagPoolServer) RemoveUser(ctx context.Context, in *proto.RemoveUserReq) (*proto.RemoveUserReply, error)
RemoveUser is used to remove a user from the dag pool server
func (*DagPoolServer) UpdateUser ¶
func (s *DagPoolServer) UpdateUser(ctx context.Context, in *proto.UpdateUserReq) (*proto.UpdateUserReply, error)
UpdateUser is used to update a user from the dag pool server
Click to show internal directories.
Click to hide internal directories.