web

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PageIndex   = "index.html"
	PageMessage = "message.html"
)

Variables

This section is empty.

Functions

func GetAssetFS added in v0.6.0

func GetAssetFS() fs.FS

Types

type Page

type Page string

type Templater

type Templater struct {
	// contains filtered or unexported fields
}

func NewTemplater

func NewTemplater() *Templater

func (*Templater) Render

func (t *Templater) Render(page Page, rw http.ResponseWriter, data interface{})

Jump to

Keyboard shortcuts

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