Documentation ¶
Index ¶
- func CreateLink(db *db.DB) fiber.Handler
- func CreateUser(db *db.DB) fiber.Handler
- func DeleteLink(db *db.DB) fiber.Handler
- func DeleteLinks(db *db.DB) fiber.Handler
- func DeleteUser(db *db.DB) fiber.Handler
- func DocAPIv1() fiber.Handler
- func ExportCSVLinks(db *db.DB, logger *zap.Logger) fiber.Handler
- func ForgottenPassword(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 UpdateLink(db *db.DB) fiber.Handler
- func UpdateUser(db *db.DB) fiber.Handler
- func UpdateUserPassword(db *db.DB) fiber.Handler
- func UploadLink(db *db.DB, logger *zap.Logger) fiber.Handler
- type LinkImportError
- type LinksIdForm
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExportCSVLinks ¶
ExportCSVLinks exports all filtered link into CSV
func ForgottenPassword ¶
ForgottenPassword save a forgotten password request.
func RedirectURL ¶
RedirectURL redirects to original URL if URL exists, else return 404 HTTP code.
func UpdateLink ¶
func UpdateUserPassword ¶
UpdateUserPassword update user password.
Types ¶
type LinkImportError ¶
type LinksIdForm ¶
type LinksIdForm = []string
Click to show internal directories.
Click to hide internal directories.