package
0.0.0-20240812203140-aef6167b2c32
Repository: https://github.com/braullio/linkito.git
Documentation: pkg.go.dev

# Functions

Create @Summary Criação de encurtador de link @Tags Links @Accept json @Produce json @Param body body links.Request true "JSON Body" @Success 201 {object} links.Link @Failure 400 {object} response.Error @Failure 500 {object} response.Error @Router /v1/links [post].
ListAll @Summary Mostra uma lista de todos os links cadastrados @Tags Links @Success 200 {array} links.Link @Failure 500 {object} response.Error @Router /v1/links [get].
No description provided by the author
Redirect @Summary Redireciona para uma URL com base no ID fornecido @Tags Links @Param id path string true "Links ID" @Success 307 @Failure 500 {object} response.Error @Router /{id} [get].
Search @Summary Mostra os dados do link com base no ID fornecido @Tags Links @Param id path string true "Links ID" @Success 200 {object} links.Link @Failure 400 {object} response.Error @Failure 404 {object} response.Error @Failure 500 {object} response.Error @Router /v1/links/{id} [get].

# Structs

No description provided by the author
No description provided by the author