Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGetStatusHttpHandler ¶
Types ¶
type DetailsView ¶
type DetailsView struct { AppName string `json:"app_name"` AppVersion string `json:"app_version"` GoVersion string `json:"go_version"` ChainAppVersion uint64 `json:"chain_app_version"` ChainBlockVersion uint64 `json:"chain_block_version"` ChainID string `json:"chain_id"` ChainName string `json:"chain_name"` GenesisHeight int64 `json:"genesis_height"` GenesisTime types.Time `json:"genesis_time"` LastIndexVersion int64 `json:"last_index_version"` LastIndexedHeight int64 `json:"last_indexed_height"` LastIndexedTime types.Time `json:"last_indexed_time"` LastIndexedAt types.Time `json:"last_indexed_at"` Lag int64 `json:"indexing_lag"` }
func ToDetailsView ¶
func ToDetailsView(recentSyncable *model.Syncable, headResponse *chainpb.GetHeadResponse, statusResponse *chainpb.GetStatusResponse) *DetailsView
type GetStatusCmdHandler ¶
type GetStatusCmdHandler struct {
// contains filtered or unexported fields
}
func NewGetStatusCmdHandler ¶
func NewGetStatusCmdHandler(db *store.Store, c *client.Client) *GetStatusCmdHandler
func (*GetStatusCmdHandler) Handle ¶
func (h *GetStatusCmdHandler) Handle(ctx context.Context)
Click to show internal directories.
Click to hide internal directories.