Documentation ¶
Index ¶
- Variables
- func HomeHandler(c echo.Context) error
- func LoginHandler(c echo.Context) error
- func LoginUser(c echo.Context) error
- func Logout(c echo.Context) error
- func RegisterHandler(c echo.Context) error
- func RegisterUser(c echo.Context) error
- func RequireLogin(next echo.HandlerFunc) echo.HandlerFunc
- func SaveSettings(c echo.Context) error
- func SessionMiddleware(next echo.HandlerFunc) echo.HandlerFunc
- func SetFlash(c echo.Context, w http.ResponseWriter, r *http.Request, ...)
- func SettingsHandler(c echo.Context) error
- func StartWebRouter(e *echo.Echo)
- func TransactionsHandler(c echo.Context) error
- type Flash
- type Params
- type Template
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrEmailExists error = errors.New("Email already exists")
View Source
var ErrInternal error = errors.New("Something happened. Please try again")
View Source
var ErrInvalidCredentials error = errors.New("Invalid email or password")
View Source
var Store *redistore.RediStore
Functions ¶
func HomeHandler ¶
func LoginHandler ¶
func RegisterHandler ¶
func RegisterUser ¶
func RequireLogin ¶
func RequireLogin(next echo.HandlerFunc) echo.HandlerFunc
func SaveSettings ¶
func SessionMiddleware ¶
func SessionMiddleware(next echo.HandlerFunc) echo.HandlerFunc
func SettingsHandler ¶
func StartWebRouter ¶
func TransactionsHandler ¶
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.