Documentation ¶
Index ¶
- func CallMailerService()
- func ConvertStringToInt(routeParam string) uint64
- func CreateToken(userId uint64, userAdmin bool) (string, error)
- func CreateTokenExpireDate() (time.Duration, error)
- func ExtractToken(c *gin.Context) string
- func SendMail(author string, password string, to string, subject string, body string)
- func TokenValid(c *gin.Context) error
- func VerifyToken(c *gin.Context) (*jwt.Token, error)
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallMailerService ¶
func CallMailerService()
func ConvertStringToInt ¶
func CreateTokenExpireDate ¶
func ExtractToken ¶
func TokenValid ¶
func VerifyToken ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.