template

package
v1.65.4 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2018 License: AGPL-3.0 Imports: 24 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   *domain.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