handler

package
v0.0.0-...-8aa74fd Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HashPassword

func HashPassword(pwBytes []byte) ([]byte, error)

TODO: Is this worth?

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

Jump to

Keyboard shortcuts

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