server

package
v0.0.0-...-a47661c Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2022 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTemplateCache

func CreateTemplateCache() (map[string]*template.Template, error)

CreateTemplateCache creates a template cache as a map

func Run

func Run(cfg *prosol.Config)

Types

type TemplateData

type TemplateData struct {
	CSRFToken string
	Data      map[string]interface{}
	Title     string
	InfoMsg   string
	WarnMsg   string
	ErrMsg    string
}

Jump to

Keyboard shortcuts

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