server

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

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) Add

Add is used to add a block to the dag pool server

func (*DagPoolServer) AddUser

AddUser is used to add a user to the dag pool server

func (*DagPoolServer) Get

Get is used to get a block from the dag pool server

func (*DagPoolServer) GetSize

GetSize is used to get the size of the block

func (*DagPoolServer) QueryUser

QueryUser is used to query a user from the dag pool server

func (*DagPoolServer) Remove

Remove is used to remove a block from the dag pool server

func (*DagPoolServer) RemoveUser

RemoveUser is used to remove a user from the dag pool server

func (*DagPoolServer) UpdateUser

UpdateUser is used to update a user from the dag pool server

Jump to

Keyboard shortcuts

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