usecase

package
v0.10.3 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2022 License: Apache-2.0 Imports: 17 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
	IndexerReindex     *indexing.ReindexCmdHandler
	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
	GetAccountSummaries              types.HttpHandler
	GetDebondingDelegationsByHeight  types.HttpHandler
	GetDebondingDelegationsByAddress types.HttpHandler
	GetDelegationsByHeight           types.HttpHandler
	GetStakingDetailsByHeight        types.HttpHandler
	GetTransactionsByHeight          types.HttpHandler
	BroadcastTransaction             types.HttpHandler
	GetValidatorsByHeight            types.HttpHandler
	GetValidatorByAddress            types.HttpHandler
	GetValidatorSummary              types.HttpHandler
	GetValidatorsForMinHeight        types.HttpHandler
	GetSystemEventsForAddress        types.HttpHandler
	GetBalanceForAddress             types.HttpHandler
	GetDelegationsByAddress          types.HttpHandler
	GetAPRByAddress                  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