Documentation ¶
Index ¶
- func ParseQuery(query string) (url.Values, error)
- type Application
- func (app *Application) DocumentationIndexHandler(w http.ResponseWriter, r *http.Request)
- func (app *Application) EmailConfirmationsCreateHandler(w http.ResponseWriter, r *http.Request)
- func (app *Application) EmailConfirmationsNewHandler(w http.ResponseWriter, r *http.Request)
- func (app *Application) EmailConfirmationsShowHandler(w http.ResponseWriter, r *http.Request)
- func (app *Application) GetSession(r *http.Request) (*sessions.Session, error)
- func (app *Application) IndexHandler(w http.ResponseWriter, r *http.Request)
- func (app *Application) PageViewsHandler(w http.ResponseWriter, r *http.Request, currentUser *models.User)
- func (app *Application) PixelsCreateHandler(w http.ResponseWriter, r *http.Request)
- func (app *Application) Render(w http.ResponseWriter, r *http.Request, name string, data pongo2.Context) error
- func (app *Application) RequireAuthentication(next AuthenticatedHandlerFunc) http.HandlerFunc
- func (app *Application) RequireEmailConfirmation(next AuthenticatedHandlerFunc) AuthenticatedHandlerFunc
- func (app *Application) SessionsCreateHandler(w http.ResponseWriter, r *http.Request)
- func (app *Application) SessionsDestroyHandler(w http.ResponseWriter, r *http.Request)
- func (app *Application) SessionsNewHandler(w http.ResponseWriter, r *http.Request)
- func (app *Application) SitesCreateHandler(w http.ResponseWriter, r *http.Request, currentUser *models.User)
- func (app *Application) SitesDestroyHandler(w http.ResponseWriter, r *http.Request, currentUser *models.User)
- func (app *Application) SitesEditHandler(w http.ResponseWriter, r *http.Request, currentUser *models.User)
- func (app *Application) SitesIndexHandler(w http.ResponseWriter, r *http.Request, currentUser *models.User)
- func (app *Application) SitesNewHandler(w http.ResponseWriter, r *http.Request, currentUser *models.User)
- func (app *Application) SitesShowHandler(w http.ResponseWriter, r *http.Request, currentUser *models.User)
- func (app *Application) SitesUpdateHandler(w http.ResponseWriter, r *http.Request, currentUser *models.User)
- func (app *Application) UsersCreateHandler(w http.ResponseWriter, r *http.Request)
- func (app *Application) UsersNewHandler(w http.ResponseWriter, r *http.Request)
- type AuthenticatedHandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 (*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)
Click to show internal directories.
Click to hide internal directories.