Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultPerPage uint = 20
Functions ¶
Types ¶
type Pagination ¶
type Pagination struct { Page uint Offset uint PerPage uint Bookmark string // contains filtered or unexported fields }
func (*Pagination) Append ¶
func (pagination *Pagination) Append(obj interface{})
func (*Pagination) IsAborted ¶
func (pagination *Pagination) IsAborted() bool
func (*Pagination) SetAbort ¶
func (pagination *Pagination) SetAbort()
func (*Pagination) SetNextBookmark ¶
func (pagination *Pagination) SetNextBookmark(offset uint, bookmark string)
func (*Pagination) SetTotal ¶
func (pagination *Pagination) SetTotal(total uint)
Click to show internal directories.
Click to hide internal directories.