Documentation ¶
Index ¶
- func HandleActions(router *mux.Router, wrapper *negroni.Negroni, prefix string, routes []*Route)
- type API
- func (api *API) GetAggBlocksCount(w http.ResponseWriter, r *http.Request)
- func (api *API) GetAggBlocksDelay(w http.ResponseWriter, r *http.Request)
- func (api *API) GetAggBondedRatio(w http.ResponseWriter, r *http.Request)
- func (api *API) GetAggDelegationsVolume(w http.ResponseWriter, r *http.Request)
- func (api *API) GetAggOperationsCount(w http.ResponseWriter, r *http.Request)
- func (api *API) GetAggTransactionsFee(w http.ResponseWriter, r *http.Request)
- func (api *API) GetAggTransfersVolume(w http.ResponseWriter, r *http.Request)
- func (api *API) GetAggUnbondingVolume(w http.ResponseWriter, r *http.Request)
- func (api *API) GetAggUndelegationsVolume(w http.ResponseWriter, r *http.Request)
- func (api *API) GetAggUniqBlockValidators(w http.ResponseWriter, r *http.Request)
- func (api *API) GetAggValidators33Power(w http.ResponseWriter, r *http.Request)
- func (api *API) GetAggWhaleAccounts(w http.ResponseWriter, r *http.Request)
- func (api *API) GetAvgOperationsPerBlock(w http.ResponseWriter, r *http.Request)
- func (api *API) GetFeeRanges(w http.ResponseWriter, r *http.Request)
- func (api *API) GetHistoricalState(w http.ResponseWriter, r *http.Request)
- func (api *API) GetMetaData(w http.ResponseWriter, r *http.Request)
- func (api *API) GetMostJailedValidators(w http.ResponseWriter, r *http.Request)
- func (api *API) GetNetworkStats(w http.ResponseWriter, r *http.Request)
- func (api *API) GetProposalChartData(w http.ResponseWriter, r *http.Request)
- func (api *API) GetProposalDeposits(w http.ResponseWriter, r *http.Request)
- func (api *API) GetProposalVotes(w http.ResponseWriter, r *http.Request)
- func (api *API) GetProposals(w http.ResponseWriter, r *http.Request)
- func (api *API) GetStakingPie(w http.ResponseWriter, r *http.Request)
- func (api *API) GetSwaggerAPI(w http.ResponseWriter, r *http.Request)
- func (api *API) GetTopProposedBlocksValidators(w http.ResponseWriter, r *http.Request)
- func (api *API) GetValidator(w http.ResponseWriter, r *http.Request)
- func (api *API) GetValidatorBalance(w http.ResponseWriter, r *http.Request)
- func (api *API) GetValidatorBlocksStat(w http.ResponseWriter, r *http.Request)
- func (api *API) GetValidatorDelegationsAgg(w http.ResponseWriter, r *http.Request)
- func (api *API) GetValidatorDelegators(w http.ResponseWriter, r *http.Request)
- func (api *API) GetValidatorDelegatorsAgg(w http.ResponseWriter, r *http.Request)
- func (api *API) GetValidators(w http.ResponseWriter, r *http.Request)
- func (api *API) GetValidatorsDelegatorsTotal(w http.ResponseWriter, r *http.Request)
- func (api *API) Health(w http.ResponseWriter, r *http.Request)
- func (api *API) Index(w http.ResponseWriter, r *http.Request)
- func (api *API) Run() error
- func (api *API) Stop() error
- func (api *API) Title() string
- type Route
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
func (*API) GetAggBlocksCount ¶
func (api *API) GetAggBlocksCount(w http.ResponseWriter, r *http.Request)
func (*API) GetAggBlocksDelay ¶
func (api *API) GetAggBlocksDelay(w http.ResponseWriter, r *http.Request)
func (*API) GetAggBondedRatio ¶
func (api *API) GetAggBondedRatio(w http.ResponseWriter, r *http.Request)
func (*API) GetAggDelegationsVolume ¶
func (api *API) GetAggDelegationsVolume(w http.ResponseWriter, r *http.Request)
func (*API) GetAggOperationsCount ¶
func (api *API) GetAggOperationsCount(w http.ResponseWriter, r *http.Request)
func (*API) GetAggTransactionsFee ¶
func (api *API) GetAggTransactionsFee(w http.ResponseWriter, r *http.Request)
func (*API) GetAggTransfersVolume ¶
func (api *API) GetAggTransfersVolume(w http.ResponseWriter, r *http.Request)
func (*API) GetAggUnbondingVolume ¶
func (api *API) GetAggUnbondingVolume(w http.ResponseWriter, r *http.Request)
func (*API) GetAggUndelegationsVolume ¶
func (api *API) GetAggUndelegationsVolume(w http.ResponseWriter, r *http.Request)
func (*API) GetAggUniqBlockValidators ¶
func (api *API) GetAggUniqBlockValidators(w http.ResponseWriter, r *http.Request)
func (*API) GetAggValidators33Power ¶
func (api *API) GetAggValidators33Power(w http.ResponseWriter, r *http.Request)
func (*API) GetAggWhaleAccounts ¶
func (api *API) GetAggWhaleAccounts(w http.ResponseWriter, r *http.Request)
func (*API) GetAvgOperationsPerBlock ¶
func (api *API) GetAvgOperationsPerBlock(w http.ResponseWriter, r *http.Request)
func (*API) GetFeeRanges ¶
func (api *API) GetFeeRanges(w http.ResponseWriter, r *http.Request)
func (*API) GetHistoricalState ¶
func (api *API) GetHistoricalState(w http.ResponseWriter, r *http.Request)
func (*API) GetMetaData ¶
func (api *API) GetMetaData(w http.ResponseWriter, r *http.Request)
func (*API) GetMostJailedValidators ¶
func (api *API) GetMostJailedValidators(w http.ResponseWriter, r *http.Request)
func (*API) GetNetworkStats ¶
func (api *API) GetNetworkStats(w http.ResponseWriter, r *http.Request)
func (*API) GetProposalChartData ¶
func (api *API) GetProposalChartData(w http.ResponseWriter, r *http.Request)
func (*API) GetProposalDeposits ¶
func (api *API) GetProposalDeposits(w http.ResponseWriter, r *http.Request)
func (*API) GetProposalVotes ¶
func (api *API) GetProposalVotes(w http.ResponseWriter, r *http.Request)
func (*API) GetProposals ¶
func (api *API) GetProposals(w http.ResponseWriter, r *http.Request)
func (*API) GetStakingPie ¶
func (api *API) GetStakingPie(w http.ResponseWriter, r *http.Request)
func (*API) GetSwaggerAPI ¶
func (api *API) GetSwaggerAPI(w http.ResponseWriter, r *http.Request)
func (*API) GetTopProposedBlocksValidators ¶
func (api *API) GetTopProposedBlocksValidators(w http.ResponseWriter, r *http.Request)
func (*API) GetValidator ¶
func (api *API) GetValidator(w http.ResponseWriter, r *http.Request)
func (*API) GetValidatorBalance ¶
func (api *API) GetValidatorBalance(w http.ResponseWriter, r *http.Request)
func (*API) GetValidatorBlocksStat ¶
func (api *API) GetValidatorBlocksStat(w http.ResponseWriter, r *http.Request)
func (*API) GetValidatorDelegationsAgg ¶
func (api *API) GetValidatorDelegationsAgg(w http.ResponseWriter, r *http.Request)
func (*API) GetValidatorDelegators ¶
func (api *API) GetValidatorDelegators(w http.ResponseWriter, r *http.Request)
func (*API) GetValidatorDelegatorsAgg ¶
func (api *API) GetValidatorDelegatorsAgg(w http.ResponseWriter, r *http.Request)
func (*API) GetValidators ¶
func (api *API) GetValidators(w http.ResponseWriter, r *http.Request)
func (*API) GetValidatorsDelegatorsTotal ¶
func (api *API) GetValidatorsDelegatorsTotal(w http.ResponseWriter, r *http.Request)
type Route ¶
type Route struct { Path string Method string Func func(http.ResponseWriter, *http.Request) Middleware []negroni.HandlerFunc }
Route stores an API route data
Click to show internal directories.
Click to hide internal directories.