page

package
v0.0.0-...-7ffc71e Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2017 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateHandler

func CreateHandler(page *context.Page) http.HandlerFunc

CreateHandler sets up a handler for serving a single page.

func LookupHandler

func LookupHandler(s *site.Site) http.HandlerFunc

LookupHandler checks a "path" param in the url

func NewPageHandler

func NewPageHandler(s *site.Site) http.HandlerFunc

NewPageHandler is a function which sets up the view for creating a new page

func UpsertPageHandler

func UpsertPageHandler(s *site.Site) http.HandlerFunc

UpsertPageHandler is a function which returns a handler for updating a page!

func ViewUpsert

func ViewUpsert(s *site.Site) http.HandlerFunc

ViewUpsert is for looking at the edit view :O

Types

This section is empty.

Jump to

Keyboard shortcuts

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