frontend

package
v0.15.7 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package frontend handles the generation, and instantiation of Pomerium's html templates.

Index

Constants

This section is empty.

Variables

FS is the frontend assets file system.

Functions

func MustAssetHandler

func MustAssetHandler() http.Handler

MustAssetHandler wraps a call to the embedded static file system and panics if the error is non-nil. It is intended for use in variable initializations

func NewTemplates

func NewTemplates() (*template.Template, error)

NewTemplates loads pomerium's templates. Panics on failure.

Types

This section is empty.

Jump to

Keyboard shortcuts

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