Documentation ¶
Index ¶
- func CheckPassword(normal, hashed string) bool
- func CreateRandomString(length int) string
- func GetConfig() *models.Config
- func GetDB() *gorm.DB
- func GetJwtToken(id uint) (string, error)
- func HashAndSalt(origin string) string
- func SendResetPasswordMail(code, reciver string) error
- func SendVefiryMail(verifyCode, reciver string) error
- func SetConfig(config *models.Config)
- func SetDB(db *gorm.DB)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetJwtToken ¶
func SendResetPasswordMail ¶
func SendVefiryMail ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.