routes

package
v0.0.0-...-175d474 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2017 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseQuery

func ParseQuery(query string) (url.Values, error)

Types

type Application

type Application struct {
	// contains filtered or unexported fields
}

func NewApplication

func NewApplication() *Application

func (*Application) DocumentationIndexHandler

func (app *Application) DocumentationIndexHandler(w http.ResponseWriter, r *http.Request)

func (*Application) EmailConfirmationsCreateHandler

func (app *Application) EmailConfirmationsCreateHandler(w http.ResponseWriter, r *http.Request)

func (*Application) EmailConfirmationsNewHandler

func (app *Application) EmailConfirmationsNewHandler(w http.ResponseWriter, r *http.Request)

func (*Application) EmailConfirmationsShowHandler

func (app *Application) EmailConfirmationsShowHandler(w http.ResponseWriter, r *http.Request)

func (*Application) GetSession

func (app *Application) GetSession(r *http.Request) (*sessions.Session, error)

func (*Application) IndexHandler

func (app *Application) IndexHandler(w http.ResponseWriter, r *http.Request)

func (*Application) PageViewsHandler

func (app *Application) PageViewsHandler(w http.ResponseWriter, r *http.Request, currentUser *models.User)

func (*Application) PixelsCreateHandler

func (app *Application) PixelsCreateHandler(w http.ResponseWriter, r *http.Request)

func (*Application) Render

func (app *Application) Render(w http.ResponseWriter, r *http.Request, name string, data pongo2.Context) error

func (*Application) RequireAuthentication

func (app *Application) RequireAuthentication(next AuthenticatedHandlerFunc) http.HandlerFunc

func (*Application) RequireEmailConfirmation

func (app *Application) RequireEmailConfirmation(next AuthenticatedHandlerFunc) AuthenticatedHandlerFunc

func (*Application) SessionsCreateHandler

func (app *Application) SessionsCreateHandler(w http.ResponseWriter, r *http.Request)

func (*Application) SessionsDestroyHandler

func (app *Application) SessionsDestroyHandler(w http.ResponseWriter, r *http.Request)

func (*Application) SessionsNewHandler

func (app *Application) SessionsNewHandler(w http.ResponseWriter, r *http.Request)

func (*Application) SitesCreateHandler

func (app *Application) SitesCreateHandler(w http.ResponseWriter, r *http.Request, currentUser *models.User)

func (*Application) SitesDestroyHandler

func (app *Application) SitesDestroyHandler(w http.ResponseWriter, r *http.Request, currentUser *models.User)

func (*Application) SitesEditHandler

func (app *Application) SitesEditHandler(w http.ResponseWriter, r *http.Request, currentUser *models.User)

func (*Application) SitesIndexHandler

func (app *Application) SitesIndexHandler(w http.ResponseWriter, r *http.Request, currentUser *models.User)

func (*Application) SitesNewHandler

func (app *Application) SitesNewHandler(w http.ResponseWriter, r *http.Request, currentUser *models.User)

func (*Application) SitesShowHandler

func (app *Application) SitesShowHandler(w http.ResponseWriter, r *http.Request, currentUser *models.User)

func (*Application) SitesUpdateHandler

func (app *Application) SitesUpdateHandler(w http.ResponseWriter, r *http.Request, currentUser *models.User)

func (*Application) UsersCreateHandler

func (app *Application) UsersCreateHandler(w http.ResponseWriter, r *http.Request)

func (*Application) UsersNewHandler

func (app *Application) UsersNewHandler(w http.ResponseWriter, r *http.Request)

type AuthenticatedHandlerFunc

type AuthenticatedHandlerFunc func(http.ResponseWriter, *http.Request, *models.User)

Jump to

Keyboard shortcuts

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