usecase

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CmdHandlers

type CmdHandlers struct {
	GetStatus          *chain.GetStatusCmdHandler
	IndexerIndex       *indexing.IndexCmdHandler
	IndexerBackfill    *indexing.BackfillCmdHandler
	IndexerPurge       *indexing.PurgeCmdHandler
	IndexerSummarize   *indexing.SummarizeCmdHandler
	DecorateValidators *validator.DecorateCmdHandler
}

func NewCmdHandlers

func NewCmdHandlers(cfg *config.Config, db *store.Store, c *client.Client) *CmdHandlers

type HttpHandlers

type HttpHandlers struct {
	Health                          types.HttpHandler
	GetStatus                       types.HttpHandler
	GetBlockTimes                   types.HttpHandler
	GetBlockSummary                 types.HttpHandler
	GetBlockByHeight                types.HttpHandler
	GetAccountByAddress             types.HttpHandler
	GetDebondingDelegationsByHeight types.HttpHandler
	GetDelegationsByHeight          types.HttpHandler
	GetStakingDetailsByHeight       types.HttpHandler
	GetTransactionsByHeight         types.HttpHandler
	GetValidatorsByHeight           types.HttpHandler
	GetValidatorByAddress           types.HttpHandler
	GetValidatorSummary             types.HttpHandler
	GetValidatorsForMinHeight       types.HttpHandler
	GetSystemEventsForAddress       types.HttpHandler
	GetBalanceForAddress            types.HttpHandler
}

func NewHttpHandlers

func NewHttpHandlers(cfg *config.Config, db *store.Store, c *client.Client) *HttpHandlers

type WorkerHandlers

type WorkerHandlers struct {
	IndexerIndex     types.WorkerHandler
	IndexerSummarize types.WorkerHandler
	IndexerPurge     types.WorkerHandler
}

func NewWorkerHandlers

func NewWorkerHandlers(cfg *config.Config, db *store.Store, c *client.Client) *WorkerHandlers

Jump to

Keyboard shortcuts

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