Documentation ¶
Index ¶
- func AuthGetUser(c echo.Context) entities.UserEntity
- func AuthLogin(c echo.Context, user entities.UserEntity) error
- func AuthLogout(c echo.Context) error
- func CheckPasswordHash(password, hash string) bool
- func CreatePost(c echo.Context) error
- func DeletePost(c echo.Context) error
- func EditPost(c echo.Context) error
- func HashPassword(password string) (string, error)
- func Index(c echo.Context) error
- func Login(c echo.Context) error
- func LoginPage(c echo.Context) error
- func Logout(c echo.Context) error
- func PostApiList(c echo.Context) error
- func Register(c echo.Context) error
- func RegisterPage(c echo.Context) error
- func UpdatePost(c echo.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthGetUser ¶
func AuthGetUser(c echo.Context) entities.UserEntity
func AuthLogout ¶
func CheckPasswordHash ¶
func CreatePost ¶
func DeletePost ¶
func HashPassword ¶
func PostApiList ¶
func RegisterPage ¶
func UpdatePost ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.