template

package
v2.4.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2019 License: AGPL-3.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	Runtime *env.Runtime
	Store   *store.Store
	Indexer indexer.Indexer
}

Handler contains the runtime information such as logging and database.

func (*Handler) SaveAs

func (h *Handler) SaveAs(w http.ResponseWriter, r *http.Request)

SaveAs saves existing document as a template.

func (*Handler) SavedList

func (h *Handler) SavedList(w http.ResponseWriter, r *http.Request)

SavedList returns all templates saved by the user

func (*Handler) Use

func (h *Handler) Use(w http.ResponseWriter, r *http.Request)

Use creates new document using a saved document as a template. If template ID is ZERO then we provide an Empty Document as the new document.

Jump to

Keyboard shortcuts

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