formposthtml

package
Version: v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package formposthtml defines HTML templates used by the Supervisor.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContentSecurityPolicy

func ContentSecurityPolicy() string

ContentSecurityPolicy returns the Content-Security-Policy header value to make the Template() operate correctly.

See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy.

func Template

func Template() *template.Template

Template returns the html/template.Template for rendering the response_type=form_post response page.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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