controllers

package
v0.0.0-...-1aa18e6 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthGetUser

func AuthGetUser(c echo.Context) entities.UserEntity

func AuthLogin

func AuthLogin(c echo.Context, user entities.UserEntity) error

func AuthLogout

func AuthLogout(c echo.Context) error

func CheckPasswordHash

func CheckPasswordHash(password, hash string) bool

func CreatePost

func CreatePost(c echo.Context) error

func DeletePost

func DeletePost(c echo.Context) error

func EditPost

func EditPost(c echo.Context) error

func HashPassword

func HashPassword(password string) (string, error)

func Index

func Index(c echo.Context) error

func Login

func Login(c echo.Context) error

func LoginPage

func LoginPage(c echo.Context) error

func Logout

func Logout(c echo.Context) error

func PostApiList

func PostApiList(c echo.Context) error

func Register

func Register(c echo.Context) error

func RegisterPage

func RegisterPage(c echo.Context) error

func UpdatePost

func UpdatePost(c echo.Context) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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