Documentation
¶
Index ¶
- func CheckPassword(normal, hashed string) bool
- func Config() *structure.Config
- func CreateRandomString(length int) string
- func GetJwtToken(id int) (string, error)
- func HashAndSalt(origin string) string
- func LoadConfig(configPath string) (structure.Config, error)
- func SendResetPasswordMail(verifyCode, mail string) error
- func SendVefiryMail(verifyCode, mail string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadConfig ¶
LoadConfig requires config path. returns DB Configuration and error
func SendResetPasswordMail ¶
SendResetPasswordMail returns error(Success of fail)
func SendVefiryMail ¶
SendVefiryMail send mail with verify link
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.