Documentation ¶
Index ¶
- func HashPassword(pwBytes []byte) ([]byte, error)
- type HomeHandler
- type RouteHandler
- func (r *RouteHandler) GalleryShow(c echo.Context) error
- func (r *RouteHandler) HomeShow(c echo.Context) error
- func (r *RouteHandler) Login(c echo.Context) error
- func (r *RouteHandler) LoginForm(c echo.Context) error
- func (r *RouteHandler) Logout(c echo.Context) error
- func (r *RouteHandler) PhotoForm(c echo.Context) error
- func (r *RouteHandler) PhotoShow(c echo.Context) error
- func (r *RouteHandler) PhotographerShow(c echo.Context) error
- func (r *RouteHandler) PostPhoto(c echo.Context) error
- func (r *RouteHandler) Signup(c echo.Context) error
- func (r *RouteHandler) SignupShow(c echo.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HomeHandler ¶
type HomeHandler struct { }
type RouteHandler ¶
type RouteHandler struct { DB *sql.DB Sessions *authservice.SessionService }
func (*RouteHandler) GalleryShow ¶
func (r *RouteHandler) GalleryShow(c echo.Context) error
func (*RouteHandler) HomeShow ¶
func (r *RouteHandler) HomeShow(c echo.Context) error
func (*RouteHandler) Login ¶
func (r *RouteHandler) Login(c echo.Context) error
func (*RouteHandler) LoginForm ¶
func (r *RouteHandler) LoginForm(c echo.Context) error
func (*RouteHandler) Logout ¶
func (r *RouteHandler) Logout(c echo.Context) error
func (*RouteHandler) PhotoForm ¶
func (r *RouteHandler) PhotoForm(c echo.Context) error
func (*RouteHandler) PhotoShow ¶
func (r *RouteHandler) PhotoShow(c echo.Context) error
func (*RouteHandler) PhotographerShow ¶
func (r *RouteHandler) PhotographerShow(c echo.Context) error
func (*RouteHandler) PostPhoto ¶
func (r *RouteHandler) PostPhoto(c echo.Context) error
func (*RouteHandler) Signup ¶
func (r *RouteHandler) Signup(c echo.Context) error
func (*RouteHandler) SignupShow ¶
func (r *RouteHandler) SignupShow(c echo.Context) error
Click to show internal directories.
Click to hide internal directories.