usecase

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2020 License: Apache-2.0 Imports: 12 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
	StartIndexer     *indexing.StartCmdHandler
	BackfillIndexer  *indexing.BackfillCmdHandler
	PurgeIndexer     *indexing.PurgeCmdHandler
	SummarizeIndexer *indexing.SummarizeCmdHandler
}

func NewCmdHandlers

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

type HttpHandlers

type HttpHandlers struct {
	Health                     types.HttpHandler
	GetStatus                  types.HttpHandler
	GetBlockTimes              types.HttpHandler
	GetBlockSummary            types.HttpHandler
	GetBlockByHeight           types.HttpHandler
	GetTransactionsByHeight    types.HttpHandler
	GetAccountByHeight         types.HttpHandler
	GetValidatorsByHeight      types.HttpHandler
	GetValidatorByAddress      types.HttpHandler
	GetValidatorSummary        types.HttpHandler
	GetValidatorsForMinHeight  types.HttpHandler
	GetValidatorGroupsByHeight types.HttpHandler
	GetValidatorGroupByAddress types.HttpHandler
	GetValidatorGroupSummary   types.HttpHandler
}

func NewHttpHandlers

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

type WorkerHandlers

type WorkerHandlers struct {
	RunIndexer       types.WorkerHandler
	SummarizeIndexer types.WorkerHandler
	PurgeIndexer     types.WorkerHandler
}

func NewWorkerHandlers

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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