templates

package
v0.0.0-...-71ad85e Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GetHandler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
	Get(w, r)
})
View Source
var IdDeleteHandler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
	IdDelete(w, r)
})
View Source
var PostHandler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
	Post(w, r)
})

Functions

func Get

func Get(w http.ResponseWriter, r *http.Request)

func IdDelete

func IdDelete(w http.ResponseWriter, r *http.Request)

func Post

func Post(w http.ResponseWriter, r *http.Request)

Types

type Data

type Data struct {
	TemplateConfig *template.Config `json:"config,omitempty"`
	Templates      *[]string        `json:"templates,omitempty"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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