Documentation ¶
Index ¶
- Variables
- func CompareHash(h, p []byte) bool
- func DestroyFromCloudinary(fileUrlString string) (err error)
- func GenerateToken(id uint, email string) string
- func GetContentType(c *gin.Context) string
- func HashPassword(p string) (string, error)
- func InitCloudinary()
- func UploadToCloudinary(file multipart.File) (string, error)
- func VerifyToken(c *gin.Context) (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var AppJson = "application/json"
Functions ¶
func CompareHash ¶
func DestroyFromCloudinary ¶
func GenerateToken ¶
func GetContentType ¶
func HashPassword ¶
func InitCloudinary ¶
func InitCloudinary()
func VerifyToken ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.