Documentation ¶
Index ¶
- func HandleCreate(w http.ResponseWriter, r *http.Request) error
- func HandleCreateShow(w http.ResponseWriter, r *http.Request) error
- func HandleDestroy(w http.ResponseWriter, r *http.Request) error
- func HandleIndex(w http.ResponseWriter, r *http.Request) error
- func HandleSetup(w http.ResponseWriter, r *http.Request) error
- func HandleSetupShow(w http.ResponseWriter, r *http.Request) error
- func HandleShow(w http.ResponseWriter, r *http.Request) error
- func HandleShowHome(w http.ResponseWriter, r *http.Request) error
- func HandleShowPath(w http.ResponseWriter, r *http.Request) error
- func HandleUpdate(w http.ResponseWriter, r *http.Request) error
- func HandleUpdateShow(w http.ResponseWriter, r *http.Request) error
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.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.