Documentation ¶
Index ¶
- Constants
- type AlgorithmService
- type PoolService
- func (s *PoolService) AddPoolCoinbaseAddress(ctx context.Context, in *pb.AddPoolCoinbaseAddressRequest) (*pb.AddPoolCoinbaseAddressResponse, error)
- func (s *PoolService) CountPools(ctx context.Context, in *empty.Empty) (*pb.CountPoolsResponse, error)
- func (s *PoolService) GetPool(ctx context.Context, in *pb.GetPoolRequest) (*pb.GetPoolResponse, error)
- func (s *PoolService) GetPoolAddresses(ctx context.Context, in *pb.GetPoolAddressesRequest) (*pb.GetPoolAddressesResponse, error)
- func (s *PoolService) GetPoolCoinbaseTags(ctx context.Context, in *pb.GetPoolCoinbaseTagsRequest) (*pb.GetPoolCoinbaseTagsResponse, error)
- func (s *PoolService) ListPools(ctx context.Context, in *pb.ListPoolsRequest) (*pb.ListPoolsResponse, error)
- type PowCoinService
- func (s *PowCoinService) CountPowCoins(ctx context.Context, in *empty.Empty) (*pb.CountPowCoinsResponse, error)
- func (s *PowCoinService) GetPowCoin(ctx context.Context, in *pb.GetPowCoinRequest) (*pb.GetPowCoinResponse, error)
- func (s *PowCoinService) GetPowCoinID(ctx context.Context, in *pb.GetPowCoinIDRequest) (*pb.GetPowCoinIDResponse, error)
Constants ¶
View Source
const ( DEFAULT_LIST_POOLS_LIMIT = 100 DEFAULT_LIST_POOLS_MAX_LIMIT = 500 DEFAULT_LIST_POOLS_SKIP = 0 DEFAULT_LIST_POOLS_SORT = "id ASC" PREFIX_LIST_POOLS_QUERY_FIELD = "Q_" PREFIX_LIST_POOLS_SORT_FIELD = "S_" LIST_POOLS_REQ_QUERY_BOOL_VALUE = "QueryBoolValue" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlgorithmService ¶
func (*AlgorithmService) CountAlgorithms ¶
func (s *AlgorithmService) CountAlgorithms(ctx context.Context, in *empty.Empty) (*pb.CountAlgorithmsResponse, error)
func (*AlgorithmService) GetAlgorithm ¶
func (s *AlgorithmService) GetAlgorithm(ctx context.Context, in *pb.GetAlgorithmRequest) (*pb.GetAlgorithmResponse, error)
type PoolService ¶
func (*PoolService) AddPoolCoinbaseAddress ¶
func (s *PoolService) AddPoolCoinbaseAddress(ctx context.Context, in *pb.AddPoolCoinbaseAddressRequest) (*pb.AddPoolCoinbaseAddressResponse, error)
func (*PoolService) CountPools ¶
func (s *PoolService) CountPools(ctx context.Context, in *empty.Empty) (*pb.CountPoolsResponse, error)
func (*PoolService) GetPool ¶
func (s *PoolService) GetPool(ctx context.Context, in *pb.GetPoolRequest) (*pb.GetPoolResponse, error)
func (*PoolService) GetPoolAddresses ¶
func (s *PoolService) GetPoolAddresses(ctx context.Context, in *pb.GetPoolAddressesRequest) (*pb.GetPoolAddressesResponse, error)
func (*PoolService) GetPoolCoinbaseTags ¶
func (s *PoolService) GetPoolCoinbaseTags(ctx context.Context, in *pb.GetPoolCoinbaseTagsRequest) (*pb.GetPoolCoinbaseTagsResponse, error)
func (*PoolService) ListPools ¶
func (s *PoolService) ListPools(ctx context.Context, in *pb.ListPoolsRequest) (*pb.ListPoolsResponse, error)
type PowCoinService ¶
func (*PowCoinService) CountPowCoins ¶
func (s *PowCoinService) CountPowCoins(ctx context.Context, in *empty.Empty) (*pb.CountPowCoinsResponse, error)
func (*PowCoinService) GetPowCoin ¶
func (s *PowCoinService) GetPowCoin(ctx context.Context, in *pb.GetPowCoinRequest) (*pb.GetPowCoinResponse, error)
func (*PowCoinService) GetPowCoinID ¶
func (s *PowCoinService) GetPowCoinID(ctx context.Context, in *pb.GetPowCoinIDRequest) (*pb.GetPowCoinIDResponse, error)
Click to show internal directories.
Click to hide internal directories.