Documentation
¶
Index ¶
- Variables
- func PageAPI() *template.Template
- func PageCollection() *template.Template
- func PageCollections() *template.Template
- func PageConformance() *template.Template
- func PageFunction() *template.Template
- func PageFunctionItems() *template.Template
- func PageFunctions() *template.Template
- func PageHome() *template.Template
- func PageItem() *template.Template
- func PageItems() *template.Template
- func RenderHTML(temp *template.Template, content interface{}, context interface{}) ([]byte, error)
- type PageData
Constants ¶
This section is empty.
Variables ¶
View Source
var HTMLDynamicLoad bool
HTMLDynamicLoad sets whether HTML templates are loaded every time they are used this allows rapid prototyping of changes
Functions ¶
func PageCollection ¶
func PageCollections ¶
func PageConformance ¶
func PageFunction ¶
func PageFunctionItems ¶
func PageFunctions ¶
Types ¶
type PageData ¶
type PageData struct { AppName string AppVersion string // URLHome - URL for the service home page URLHome string URLCollections string URLCollection string URLFunctions string URLFunction string // URLItems is url for items HTML page URLItems string // URLItemsJSON is url for items JSON URLItemsJSON string // URLJSON is the url for the current page in JSON URLJSON string Group string Title string Table *data.Table IDColumn string Function *data.Function FeatureID string ShowFeatureLink bool }
PageData - data used on the HTML pages
func NewPageData ¶
func NewPageData() *PageData
NewPageData create a page context initialized with globals.
Click to show internal directories.
Click to hide internal directories.