Documentation ¶
Index ¶
- func RenderBreadcrumpComponent(w io.Writer, data BreadcrumbData) error
- func RenderComponent(ctx context.Context, w io.Writer, c Component) error
- func RenderDirectoryComponent(w io.Writer, data DirData) error
- func RenderHelpComponent(w io.Writer, data HelpData) error
- func RenderIndexComponent(w io.Writer, data IndexData) error
- func RenderRealmComponent(w io.Writer, data RealmData) error
- func RenderRealmTOCComponent(w io.Writer, data *RealmTOCData) error
- func RenderRedirectComponent(w io.Writer, data RedirectData) error
- func RenderSourceComponent(w io.Writer, data SourceData) error
- func RenderStatusComponent(w io.Writer, message string) error
- type BreadcrumbData
- type BreadcrumbPart
- type Component
- type DirData
- type FooterData
- type HeadData
- type HeaderData
- type HelpData
- type IndexData
- type RealmData
- type RealmTOCData
- type RedirectData
- type SourceData
- type StatusData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderBreadcrumpComponent ¶
func RenderBreadcrumpComponent(w io.Writer, data BreadcrumbData) error
func RenderRealmTOCComponent ¶
func RenderRealmTOCComponent(w io.Writer, data *RealmTOCData) error
func RenderRedirectComponent ¶
func RenderRedirectComponent(w io.Writer, data RedirectData) error
func RenderSourceComponent ¶
func RenderSourceComponent(w io.Writer, data SourceData) error
Types ¶
type BreadcrumbData ¶
type BreadcrumbData struct {
Parts []BreadcrumbPart
}
type BreadcrumbPart ¶
type Component ¶
func IndexComponent ¶
func RealmTOCComponent ¶
func RealmTOCComponent(data *RealmTOCData) Component
type FooterData ¶
type FooterData struct {}
type HeaderData ¶
type HeaderData struct { RealmPath string Breadcrumb BreadcrumbData WebQuery url.Values }
type RealmData ¶
type RealmData struct { Content template.HTML TocItems *RealmTOCData }
type RealmTOCData ¶
type RedirectData ¶
type SourceData ¶
type StatusData ¶
type StatusData struct {
Message string
}
Click to show internal directories.
Click to hide internal directories.