usecase

package
v0.5.7 Latest Latest
Warning

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

Go to latest
Published: May 27, 2022 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
	StartIndexer      *indexing.StartCmdHandler
	BackfillIndexer   *indexing.BackfillCmdHandler
	PurgeIndexer      *indexing.PurgeCmdHandler
	SummarizeIndexer  *indexing.SummarizeCmdHandler
	FetchIdentities   *indexing.FetchIdentitiesCmdHandler
	UpdateProposals   *governance.UpdateProposalsCmdHandler
	BackfillProposals *governance.BackfillProposalsCmdHandler
}

func NewCmdHandlers

func NewCmdHandlers(cfg *config.Config, db *psql.Store, nodeClient figmentclient.Client, theCeloClient theceloclient.Client, dl *datalake.DataLake) *CmdHandlers

type HttpHandlers

type HttpHandlers struct {
	Health                     types.HttpHandler
	GetStatus                  types.HttpHandler
	GetBlockTimes              types.HttpHandler
	GetBlockSummary            types.HttpHandler
	GetBlockByHeight           types.HttpHandler
	GetTransactionsByHeight    types.HttpHandler
	GetTransactionByHash       types.HttpHandler
	GetAccountByHeight         types.HttpHandler
	GetAccountDetails          types.HttpHandler
	GetValidatorsByHeight      types.HttpHandler
	GetValidatorByAddress      types.HttpHandler
	GetValidatorSummary        types.HttpHandler
	GetValidatorsForMinHeight  types.HttpHandler
	GetValidatorGroupsByHeight types.HttpHandler
	GetValidatorGroupByAddress types.HttpHandler
	GetValidatorGroupSummary   types.HttpHandler
	GetSystemEventsForAddress  types.HttpHandler
	GetSystemEvents            types.HttpHandler
	GetProposals               types.HttpHandler
	GetProposalActivity        types.HttpHandler
}

func NewHttpHandlers

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

type WorkerHandlers

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

func NewWorkerHandlers

func NewWorkerHandlers(cfg *config.Config, db *psql.Store, client figmentclient.Client, theCeloClient theceloclient.Client, dl *datalake.DataLake) *WorkerHandlers

Jump to

Keyboard shortcuts

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