site

package
v0.0.0-...-3c0849d Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterHandlers

func RegisterHandlers()

RegisterHandlers registers package-specific handlers on the root Mux.

func Render

func Render(w http.ResponseWriter, info *PageInfo)

Render emits the rendered output.

Types

type PageInfo

type PageInfo struct {
	Content stdtemplate.HTML
	Title   string
}

PageInfo specifies the configurable parameters for rendering with the site template.

Jump to

Keyboard shortcuts

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