layout

package
v0.9.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Head(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, ps *cutil.PageState) string
func Nav(as *app.State, ps *cutil.PageState) string
func NavItems(m menu.Items, breadcrumbs cmenu.Breadcrumbs) string

func StreamHead

func StreamHead(qw422016 *qt422016.Writer, as *app.State, ps *cutil.PageState)

func StreamMenu

func StreamMenu(qw422016 *qt422016.Writer, ps *cutil.PageState)

func StreamMenuItem

func StreamMenuItem(qw422016 *qt422016.Writer, i *menu.Item, path []string, breadcrumbs cmenu.Breadcrumbs, indent int, ps *cutil.PageState)

func StreamNav

func StreamNav(qw422016 *qt422016.Writer, as *app.State, ps *cutil.PageState)

func StreamNavItems

func StreamNavItems(qw422016 *qt422016.Writer, m menu.Items, breadcrumbs cmenu.Breadcrumbs)

func WriteHead

func WriteHead(qq422016 qtio422016.Writer, as *app.State, ps *cutil.PageState)

func WriteMenu

func WriteMenu(qq422016 qtio422016.Writer, ps *cutil.PageState)

func WriteMenuItem

func WriteMenuItem(qq422016 qtio422016.Writer, i *menu.Item, path []string, breadcrumbs cmenu.Breadcrumbs, indent int, ps *cutil.PageState)

func WriteNav

func WriteNav(qq422016 qtio422016.Writer, as *app.State, ps *cutil.PageState)

func WriteNavItems

func WriteNavItems(qq422016 qtio422016.Writer, m menu.Items, breadcrumbs cmenu.Breadcrumbs)

Types

type Basic

type Basic struct{}

func (*Basic) Body

func (p *Basic) Body(as *app.State, ps *cutil.PageState) string

func (*Basic) Head

func (p *Basic) Head(as *app.State, ps *cutil.PageState) string

func (*Basic) Menu

func (p *Basic) Menu(ps *cutil.PageState) string

func (*Basic) Nav

func (p *Basic) Nav(as *app.State, ps *cutil.PageState) string

func (*Basic) StreamBody

func (p *Basic) StreamBody(qw422016 *qt422016.Writer, as *app.State, ps *cutil.PageState)

func (*Basic) StreamHead

func (p *Basic) StreamHead(qw422016 *qt422016.Writer, as *app.State, ps *cutil.PageState)

func (*Basic) StreamMenu

func (p *Basic) StreamMenu(qw422016 *qt422016.Writer, ps *cutil.PageState)

func (*Basic) StreamNav

func (p *Basic) StreamNav(qw422016 *qt422016.Writer, as *app.State, ps *cutil.PageState)

func (*Basic) WriteBody

func (p *Basic) WriteBody(qq422016 qtio422016.Writer, as *app.State, ps *cutil.PageState)

func (*Basic) WriteHead

func (p *Basic) WriteHead(qq422016 qtio422016.Writer, as *app.State, ps *cutil.PageState)

func (*Basic) WriteMenu

func (p *Basic) WriteMenu(qq422016 qtio422016.Writer, ps *cutil.PageState)

func (*Basic) WriteNav

func (p *Basic) WriteNav(qq422016 qtio422016.Writer, as *app.State, ps *cutil.PageState)

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)

	Nav(as *app.State, ps *cutil.PageState) string

	StreamNav(qw422016 *qt422016.Writer, as *app.State, ps *cutil.PageState)

	WriteNav(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)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL