pageactions

package
v1.5.4 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2017 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleCreate

func HandleCreate(w http.ResponseWriter, r *http.Request) error

HandleCreate handles the POST of the create form for pages

func HandleCreateShow

func HandleCreateShow(w http.ResponseWriter, r *http.Request) error

HandleCreateShow serves the create form via GET for pages.

func HandleDestroy

func HandleDestroy(w http.ResponseWriter, r *http.Request) error

HandleDestroy responds to /pages/n/destroy by deleting the page.

func HandleIndex

func HandleIndex(w http.ResponseWriter, r *http.Request) error

HandleIndex displays a list of pages.

func HandleSetup

func HandleSetup(w http.ResponseWriter, r *http.Request) error

HandleSetup responds to POST /fragmenta/setup

func HandleSetupShow

func HandleSetupShow(w http.ResponseWriter, r *http.Request) error

HandleSetupShow responds to GET /fragmenta/setup

func HandleShow

func HandleShow(w http.ResponseWriter, r *http.Request) error

HandleShow displays a single page.

func HandleShowHome

func HandleShowHome(w http.ResponseWriter, r *http.Request) error

HandleShowHome serves our home page with a simple template.

func HandleShowPath

func HandleShowPath(w http.ResponseWriter, r *http.Request) error

HandleShowPath serves requests to a custom page url

func HandleUpdate

func HandleUpdate(w http.ResponseWriter, r *http.Request) error

HandleUpdate handles the POST of the form to update a page

func HandleUpdateShow

func HandleUpdateShow(w http.ResponseWriter, r *http.Request) error

HandleUpdateShow renders the form to update a page.

Types

This section is empty.

Jump to

Keyboard shortcuts

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