app

package
v0.0.0-...-b063506 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2020 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

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

type AlgorithmService struct {
	Engine *xorm.Engine
}

func (*AlgorithmService) CountAlgorithms

func (s *AlgorithmService) CountAlgorithms(ctx context.Context, in *empty.Empty) (*pb.CountAlgorithmsResponse, error)

func (*AlgorithmService) GetAlgorithm

type PoolService

type PoolService struct {
	Engine *xorm.Engine
}

func (*PoolService) AddPoolCoinbaseAddress

func (*PoolService) CountPools

func (s *PoolService) CountPools(ctx context.Context, in *empty.Empty) (*pb.CountPoolsResponse, error)

func (*PoolService) GetPool

func (*PoolService) GetPoolAddresses

func (*PoolService) GetPoolCoinbaseTags

func (*PoolService) ListPools

type PowCoinService

type PowCoinService struct {
	Engine *xorm.Engine
}

func (*PowCoinService) CountPowCoins

func (s *PowCoinService) CountPowCoins(ctx context.Context, in *empty.Empty) (*pb.CountPowCoinsResponse, error)

func (*PowCoinService) GetPowCoin

func (*PowCoinService) GetPowCoinID

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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