Documentation ¶
Index ¶
- type LinkHandler
- func (h *LinkHandler) GetShortenedURL(c echo.Context) error
- func (h *LinkHandler) GetShortenedURLStats(c echo.Context) error
- func (h *LinkHandler) ShortenURL(c echo.Context) error
- func (h *LinkHandler) ToggleLinkEnabledState(c echo.Context) error
- func (h *LinkHandler) UpdateShortendLink(c echo.Context) error
- func (h *LinkHandler) UpdateVisitAndReturnLink(c echo.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LinkHandler ¶
type LinkHandler struct {
// contains filtered or unexported fields
}
func NewLinkHandler ¶
func NewLinkHandler(storage *storage.LinkStorage) *LinkHandler
func (*LinkHandler) GetShortenedURL ¶
func (h *LinkHandler) GetShortenedURL(c echo.Context) error
func (*LinkHandler) GetShortenedURLStats ¶
func (h *LinkHandler) GetShortenedURLStats(c echo.Context) error
func (*LinkHandler) ShortenURL ¶
func (h *LinkHandler) ShortenURL(c echo.Context) error
func (*LinkHandler) ToggleLinkEnabledState ¶
func (h *LinkHandler) ToggleLinkEnabledState(c echo.Context) error
func (*LinkHandler) UpdateShortendLink ¶
func (h *LinkHandler) UpdateShortendLink(c echo.Context) error
func (*LinkHandler) UpdateVisitAndReturnLink ¶
func (h *LinkHandler) UpdateVisitAndReturnLink(c echo.Context) error
Click to show internal directories.
Click to hide internal directories.