Documentation ¶
Index ¶
- func Head(as *app.State, ps *cutil.PageState) string
- func Help(as *app.State, ps *cutil.PageState) string
- func Menu(ps *cutil.PageState) string
- func MenuItem(i *menu.Item, path []string, breadcrumbs cmenu.Breadcrumbs, indent int, ...) string
- func Nav(as *app.State, ps *cutil.PageState) string
- func NavItem(link string, title string, icon string, last bool, ps *cutil.PageState) string
- func NavItems(ps *cutil.PageState) string
- func ProfileLink(as *app.State, ps *cutil.PageState) string
- func StreamHead(qw422016 *qt422016.Writer, as *app.State, ps *cutil.PageState)
- func StreamHelp(qw422016 *qt422016.Writer, as *app.State, ps *cutil.PageState)
- func StreamMenu(qw422016 *qt422016.Writer, ps *cutil.PageState)
- func StreamMenuItem(qw422016 *qt422016.Writer, i *menu.Item, path []string, ...)
- func StreamNav(qw422016 *qt422016.Writer, as *app.State, ps *cutil.PageState)
- func StreamNavItem(qw422016 *qt422016.Writer, link string, title string, icon string, last bool, ...)
- func StreamNavItems(qw422016 *qt422016.Writer, ps *cutil.PageState)
- func StreamProfileLink(qw422016 *qt422016.Writer, as *app.State, ps *cutil.PageState)
- func WriteHead(qq422016 qtio422016.Writer, as *app.State, ps *cutil.PageState)
- func WriteHelp(qq422016 qtio422016.Writer, as *app.State, ps *cutil.PageState)
- func WriteMenu(qq422016 qtio422016.Writer, ps *cutil.PageState)
- func WriteMenuItem(qq422016 qtio422016.Writer, i *menu.Item, path []string, ...)
- func WriteNav(qq422016 qtio422016.Writer, as *app.State, ps *cutil.PageState)
- func WriteNavItem(qq422016 qtio422016.Writer, link string, title string, icon string, last bool, ...)
- func WriteNavItems(qq422016 qtio422016.Writer, ps *cutil.PageState)
- func WriteProfileLink(qq422016 qtio422016.Writer, as *app.State, ps *cutil.PageState)
- type Basic
- func (p *Basic) Body(as *app.State, ps *cutil.PageState) string
- func (p *Basic) Head(as *app.State, ps *cutil.PageState) string
- func (p *Basic) Menu(ps *cutil.PageState) string
- func (p *Basic) Nav(as *app.State, ps *cutil.PageState) string
- func (p *Basic) StreamBody(qw422016 *qt422016.Writer, as *app.State, ps *cutil.PageState)
- func (p *Basic) StreamHead(qw422016 *qt422016.Writer, as *app.State, ps *cutil.PageState)
- func (p *Basic) StreamMenu(qw422016 *qt422016.Writer, ps *cutil.PageState)
- func (p *Basic) StreamNav(qw422016 *qt422016.Writer, as *app.State, ps *cutil.PageState)
- func (p *Basic) WriteBody(qq422016 qtio422016.Writer, as *app.State, ps *cutil.PageState)
- func (p *Basic) WriteHead(qq422016 qtio422016.Writer, as *app.State, ps *cutil.PageState)
- func (p *Basic) WriteMenu(qq422016 qtio422016.Writer, ps *cutil.PageState)
- func (p *Basic) WriteNav(qq422016 qtio422016.Writer, as *app.State, ps *cutil.PageState)
- type Page
- type Plain
- func (p *Plain) Body(as *app.State, ps *cutil.PageState) string
- func (p *Plain) Head(as *app.State, ps *cutil.PageState) string
- func (p *Plain) Menu(ps *cutil.PageState) string
- func (p *Plain) Nav(as *app.State, ps *cutil.PageState) string
- func (p *Plain) StreamBody(qw422016 *qt422016.Writer, as *app.State, ps *cutil.PageState)
- func (p *Plain) StreamHead(qw422016 *qt422016.Writer, as *app.State, ps *cutil.PageState)
- func (p *Plain) StreamMenu(qw422016 *qt422016.Writer, ps *cutil.PageState)
- func (p *Plain) StreamNav(qw422016 *qt422016.Writer, as *app.State, ps *cutil.PageState)
- func (p *Plain) WriteBody(qq422016 qtio422016.Writer, as *app.State, ps *cutil.PageState)
- func (p *Plain) WriteHead(qq422016 qtio422016.Writer, as *app.State, ps *cutil.PageState)
- func (p *Plain) WriteMenu(qq422016 qtio422016.Writer, ps *cutil.PageState)
- func (p *Plain) WriteNav(qq422016 qtio422016.Writer, as *app.State, ps *cutil.PageState)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StreamHelp ¶ added in v0.12.0
func StreamMenuItem ¶
func StreamNavItem ¶ added in v1.0.4
func StreamProfileLink ¶ added in v1.0.25
func WriteMenuItem ¶
func WriteMenuItem(qq422016 qtio422016.Writer, i *menu.Item, path []string, breadcrumbs cmenu.Breadcrumbs, indent int, ps *cutil.PageState)
func WriteNavItem ¶ added in v1.0.4
func WriteNavItems ¶
func WriteNavItems(qq422016 qtio422016.Writer, ps *cutil.PageState)
func WriteProfileLink ¶ added in v1.0.25
Types ¶
type Basic ¶
type Basic struct{}
func (*Basic) StreamBody ¶
func (*Basic) StreamHead ¶
func (*Basic) StreamMenu ¶
type Page ¶
type Page interface { Head(as *app.State, ps *cutil.PageState) string StreamHead(qw422016 *qt422016.Writer, as *app.State, ps *cutil.PageState) WriteHead(qq422016 qtio422016.Writer, as *app.State, ps *cutil.PageState) Menu(ps *cutil.PageState) string StreamMenu(qw422016 *qt422016.Writer, ps *cutil.PageState) WriteMenu(qq422016 qtio422016.Writer, ps *cutil.PageState) Body(as *app.State, ps *cutil.PageState) string StreamBody(qw422016 *qt422016.Writer, as *app.State, ps *cutil.PageState) WriteBody(qq422016 qtio422016.Writer, as *app.State, ps *cutil.PageState) }
type Plain ¶ added in v1.0.20
type Plain struct{}
func (*Plain) StreamBody ¶ added in v1.0.20
func (*Plain) StreamHead ¶ added in v1.0.20
func (*Plain) StreamMenu ¶ added in v1.0.20
Click to show internal directories.
Click to hide internal directories.