controllers

package
v0.0.0-...-647f28d Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2015 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HouseByCity

func HouseByCity(w http.ResponseWriter, r *http.Request, ps mux.Params)

func HouseById

func HouseById(w http.ResponseWriter, r *http.Request, ps mux.Params)

func HouseByState

func HouseByState(w http.ResponseWriter, r *http.Request, ps mux.Params)

func HouseCreate

func HouseCreate(w http.ResponseWriter, r *http.Request, _ mux.Params)

func HouseCreateSuccess

func HouseCreateSuccess(w http.ResponseWriter, r *http.Request, _ mux.Params)

func HouseIndex

func HouseIndex(w http.ResponseWriter, r *http.Request, _ mux.Params)

Display all haunted houses

func HouseNew

func HouseNew(w http.ResponseWriter, r *http.Request, _ mux.Params)

func Index

func Index(w http.ResponseWriter, r *http.Request, _ mux.Params)

Display a welcome message on home page

Types

type Route

type Route struct {
	Method string
	Path   string
	Handle mux.Handle
}

Struct of route data

type Routes

type Routes []Route

Slice to hold Route structs

Jump to

Keyboard shortcuts

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