Documentation ¶
Index ¶
- func CheckPasswordHash(hash, password string) bool
- func Config(key string) string
- func CreateJWT(claims jwt.Claims, key string) (string, error)
- func ErrPanic(err error) error
- func HashPassword(password string) (string, error)
- func SendErrorResponse(c *fiber.Ctx, code int, err []string) error
- func SendMail(email string, subject string, body string) error
- func SendResponse(c *fiber.Ctx, code int, data interface{}) error
- func StringToSlice(str string) []string
- func ValidReq(c *fiber.Ctx, data interface{}) []string
- func ValidateJWT(inputToken string, key string) (*web.TokenClaims, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPasswordHash ¶
func HashPassword ¶
func SendErrorResponse ¶
func SendResponse ¶
func StringToSlice ¶
func ValidateJWT ¶
func ValidateJWT(inputToken string, key string) (*web.TokenClaims, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.