controllers

package
v0.0.0-...-9ddaf36 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2016 License: ISC Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IndexTemplate, ViewTemplate *template.Template

Functions

func AlbumRegisterController

func AlbumRegisterController()

Registers the routes for this controller

func AlbumShow

func AlbumShow(w http.ResponseWriter, r *http.Request)

Display an Album in JSON form

func AlbumSubmit

func AlbumSubmit(w http.ResponseWriter, r *http.Request)

Register a new album based on the JSON passed in the request

func ClientRegisterController

func ClientRegisterController()

func CompileClientTemplates

func CompileClientTemplates()

func CreateAlbum

func CreateAlbum(w http.ResponseWriter, r *http.Request)

func ServeAssets

func ServeAssets(w http.ResponseWriter, r *http.Request)

func ViewAlbum

func ViewAlbum(w http.ResponseWriter, r *http.Request)

Types

This section is empty.

Jump to

Keyboard shortcuts

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