Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureRoutes ¶
func ConfigureRoutes(g *gin.RouterGroup)
func HandleGetEpoch ¶
func HandleGetEpochLatest ¶
Types ¶
type EpochResponse ¶
type EpochResponse struct {
OutSum uint64 `json:"out_sum"`
Fees uint64 `json:"fees"`
TxCount uint32 `json:"tx_count"`
BlockCount uint32 `json:"blk_count"`
EpochNumber uint32 `json:"no"`
StartTime *time.Time `json:"start_time"`
EndTime *time.Time `json:"end_time"`
}
func NewEpochResponse ¶
func NewEpochResponse(e *models.Epoch) *EpochResponse
type GetEpochUriParams ¶
type GetEpochUriParams struct {
Number uint32 `uri:"number" binding:"required"`
}
URI params for GetEpoch
Click to show internal directories.
Click to hide internal directories.