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)
Click to show internal directories.
Click to hide internal directories.