api

package
v0.0.0-...-9c187fb Latest Latest
Warning

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

Go to latest
Published: May 26, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UrlHandler

type UrlHandler struct {
	// contains filtered or unexported fields
}

func NewUrlHandler

func NewUrlHandler(logger *slog.Logger, urlService services.UrlService) UrlHandler

func (UrlHandler) CreateUrl

func (h UrlHandler) CreateUrl(c *gin.Context)

func (UrlHandler) GetAllUrls

func (h UrlHandler) GetAllUrls(c *gin.Context)

func (UrlHandler) GetUrl

func (h UrlHandler) GetUrl(c *gin.Context)

func (UrlHandler) Health

func (h UrlHandler) Health(c *gin.Context)

func (UrlHandler) RedirectUrl

func (h UrlHandler) RedirectUrl(c *gin.Context)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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