Documentation ¶
Index ¶
- func ApplyPage(param string, page, pagecnt int) int
- func PageSwitchBtns(handler, params string) []sevcord.Component
- type Pages
- func (p *Pages) Cat(c sevcord.Ctx, args []any)
- func (p *Pages) CatHandler(c sevcord.Ctx, params string)
- func (p *Pages) CatList(c sevcord.Ctx, opts []any)
- func (p *Pages) CatListHandler(c sevcord.Ctx, params string)
- func (p *Pages) CommandLb(c sevcord.Ctx, opts []any)
- func (p *Pages) CommandLbHandler(c sevcord.Ctx, params string)
- func (p *Pages) ElemCatHandler(c sevcord.Ctx, params string)
- func (p *Pages) ElemCats(c sevcord.Ctx, args []any)
- func (p *Pages) ElemFound(c sevcord.Ctx, args []any)
- func (p *Pages) ElemFoundHandler(c sevcord.Ctx, params string)
- func (p *Pages) Init()
- func (p *Pages) Inv(c sevcord.Ctx, args []any)
- func (p *Pages) InvHandler(c sevcord.Ctx, params string)
- func (p *Pages) Lb(c sevcord.Ctx, opts []any)
- func (p *Pages) LbHandler(c sevcord.Ctx, params string)
- func (p *Pages) Query(c sevcord.Ctx, args []any)
- func (p *Pages) QueryHandler(c sevcord.Ctx, params string)
- func (p *Pages) QueryList(c sevcord.Ctx, opts []any)
- func (p *Pages) QueryListHandler(c sevcord.Ctx, params string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PageSwitchBtns ¶
func PageSwitchBtns(handler, params string) []sevcord.Component
Creates btns with name prevnext|<params>
Types ¶
type Pages ¶
type Pages struct {
// contains filtered or unexported fields
}
func (*Pages) CatHandler ¶
Params: prevnext|user|sort|page|cat
func (*Pages) CatListHandler ¶
Format: prevnext|user|sort|page
func (*Pages) CommandLbHandler ¶
Format: prevnext|page
func (*Pages) ElemCatHandler ¶
Params: prevnext|elem|page
func (*Pages) ElemFoundHandler ¶
Params: prevnext|elem|page
func (*Pages) InvHandler ¶
Params: prevnext|user|sort|page
func (*Pages) QueryHandler ¶
Params: prevnext|user|sort|page|query
func (*Pages) QueryListHandler ¶
Format: prevnext|sort|page
Click to show internal directories.
Click to hide internal directories.