Documentation
¶
Index ¶
- Variables
- func DecrementURLCount(userID int64, db *bun.DB, ctx *gin.Context) error
- func GenerateMD5Hash(url string) string
- func GenerateToken(user *models.User) (string, error)
- func IncrementURLCount(userID int64, db *bun.DB, ctx *gin.Context) error
- func LoadEnv(path string)
- func SetupDBConnection(dsn string) (*bun.DB, error)
- func VerifyToken(tokenString string) (jwt.MapClaims, error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func GenerateMD5Hash ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.