Documentation
¶
Index ¶
- func NavbarRow(b model.Board) string
- func PageTemplate(p Page) string
- func PostBoxRow(action string) string
- func StreamNavbarRow(qw422016 *qt422016.Writer, b model.Board)
- func StreamPageTemplate(qw422016 *qt422016.Writer, p Page)
- func StreamPostBoxRow(qw422016 *qt422016.Writer, action string)
- func WriteNavbarRow(qq422016 qtio422016.Writer, b model.Board)
- func WritePageTemplate(qq422016 qtio422016.Writer, p Page)
- func WritePostBoxRow(qq422016 qtio422016.Writer, action string)
- type BoardPage
- type GeneralError
- type IndexPage
- type InternalErrorPage
- type NotFoundPage
- type Page
- type ThreadPage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PageTemplate ¶
func PostBoxRow ¶
func StreamPageTemplate ¶
func StreamPostBoxRow ¶
func WriteNavbarRow ¶
func WriteNavbarRow(qq422016 qtio422016.Writer, b model.Board)
func WritePageTemplate ¶
func WritePageTemplate(qq422016 qtio422016.Writer, p Page)
func WritePostBoxRow ¶
func WritePostBoxRow(qq422016 qtio422016.Writer, action string)
Types ¶
type BoardPage ¶
func (*BoardPage) StreamBody ¶
func (*BoardPage) WriteBody ¶
func (bp *BoardPage) WriteBody(qq422016 qtio422016.Writer)
type GeneralError ¶
type GeneralError struct {
Message string
}
func (*GeneralError) Body ¶
func (ge *GeneralError) Body() string
func (*GeneralError) StreamBody ¶
func (ge *GeneralError) StreamBody(qw422016 *qt422016.Writer)
func (*GeneralError) WriteBody ¶
func (ge *GeneralError) WriteBody(qq422016 qtio422016.Writer)
type IndexPage ¶
func (*IndexPage) StreamBody ¶
func (*IndexPage) WriteBody ¶
func (ip *IndexPage) WriteBody(qq422016 qtio422016.Writer)
type InternalErrorPage ¶
type InternalErrorPage struct {
Backtrace interface{}
}
func (*InternalErrorPage) Body ¶
func (ep *InternalErrorPage) Body() string
func (*InternalErrorPage) StreamBody ¶
func (ep *InternalErrorPage) StreamBody(qw422016 *qt422016.Writer)
func (*InternalErrorPage) WriteBody ¶
func (ep *InternalErrorPage) WriteBody(qq422016 qtio422016.Writer)
type NotFoundPage ¶
type NotFoundPage struct{}
func (*NotFoundPage) Body ¶
func (ep *NotFoundPage) Body() string
func (*NotFoundPage) StreamBody ¶
func (ep *NotFoundPage) StreamBody(qw422016 *qt422016.Writer)
func (*NotFoundPage) WriteBody ¶
func (ep *NotFoundPage) WriteBody(qq422016 qtio422016.Writer)
type Page ¶
type Page interface {
//line template/layout_base.qtpl:6
Body() string
//line template/layout_base.qtpl:6
StreamBody(qw422016 *qt422016.Writer)
//line template/layout_base.qtpl:6
WriteBody(qq422016 qtio422016.Writer)
}
type ThreadPage ¶
func (*ThreadPage) Body ¶
func (tp *ThreadPage) Body() string
func (*ThreadPage) StreamBody ¶
func (tp *ThreadPage) StreamBody(qw422016 *qt422016.Writer)
func (*ThreadPage) WriteBody ¶
func (tp *ThreadPage) WriteBody(qq422016 qtio422016.Writer)
Click to show internal directories.
Click to hide internal directories.