Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func MerkleHashFunc ¶
func Uint16ToBytes ¶
Types ¶
type Pagination ¶
type Pagination struct {
Meta metaPagination `json:"meta"`
}
func NewPagination ¶
func NewPagination(currentPage, perPage, total int) Pagination
type PaginationQuery ¶
type PaginationQuery struct { Page int `form:"page" json:"page"` PerPage int `form:"per_page" json:"per_page"` }
func NewPaginationQuery ¶
func NewPaginationQuery(ctx *gin.Context) (PaginationQuery, error)
func (PaginationQuery) Skip ¶
func (p PaginationQuery) Skip() int
Click to show internal directories.
Click to hide internal directories.