handlers

package
v0.0.0-...-927a41b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

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 (h *LinkHandler) UpdateShortendLink(c echo.Context) error
func (h *LinkHandler) UpdateVisitAndReturnLink(c echo.Context) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL