package
0.0.0-20241014222628-947ec49cb135
Repository: https://github.com/natalnw7/cliqtree.git
Documentation: pkg.go.dev

# Functions

@Sumary Create Short Link @Description Create a new short link @Tags Links @Accept json @Produce json @Param request body helper.LinkRequest true "Request body" @Success 201 {object} helper.SuccessResponse @Failure 400 {object} helper.ErrorResponse @Failure 405 {object} helper.ErrorResponse @Failure 500 {object} helper.ErrorResponse @Router /link [post].
@Sumary Find Link @Description Find short link by link id @Tags Links @Accept json @Produce json @Param linkId path int true "linkID" @Success 200 {object} helper.SuccessResponse @Failure 400 {object} helper.ErrorResponse @Failure 405 {object} helper.ErrorResponse @Failure 500 {object} helper.ErrorResponse @Router /link/{linkId} [get].
No description provided by the author
@Sumary Redirect Url @Description Find short link by link id and redirect user to redirectUrl @Tags Links @Accept json @Produce json @Param linkId path int true "linkID" @Success 301 @Failure 400 {object} helper.ErrorResponse @Failure 404 {object} helper.ErrorResponse @Failure 405 {object} helper.ErrorResponse @Failure 500 {object} helper.ErrorResponse @Router /redirect/{linkId} [get].
@Sumary Status @Description Check the service status and dependencies @Tags Status @Accept json @Produce json @Success 200 {object} helper.StatusResponse @Router /status [get].