Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PaginatedResult ¶ added in v0.3.0
type PaginatedResult struct { Page int64 `json:"page"` Limit int64 `json:"limit"` TotalCount int64 `json:"total_count"` TotalPages int64 `json:"total_pages"` Records interface{} `json:"records"` }
PaginatedResult represents database records with pagination metadata
type Pagination ¶ added in v0.3.0
Pagination represents the pagination parameters
func (*Pagination) Validate ¶ added in v0.3.0
func (p *Pagination) Validate() error
Validate sanitizes the pagination parameters
type Store ¶
type Store struct { Epoch epochStore Miner minerStore Transaction transactionStore Event eventStore // contains filtered or unexported fields }
Store handles database operations
func (*Store) DatabaseSize ¶ added in v0.4.0
DatabaseSize returns the size of the database
Click to show internal directories.
Click to hide internal directories.