Documentation ¶
Index ¶
- func CreateLink(db *db.DB) fiber.Handler
- func CreateUser(db *db.DB) fiber.Handler
- func DeleteUser(db *db.DB) fiber.Handler
- func GetAllUsers(db *db.DB) fiber.Handler
- func GetUser(db *db.DB) fiber.Handler
- func LinksList(db *db.DB) fiber.Handler
- func Login(db *db.DB) fiber.Handler
- func RedirectURL(db *db.DB, logger *zap.Logger) fiber.Handler
- func UpdateUser(db *db.DB) fiber.Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RedirectURL ¶
RedirectURL redirects to original URL if URL exists, else return 404 HTTP code.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.