handler

package
v0.0.0-...-23edbc9 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2023 License: Apache-2.0 Imports: 8 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 {
	Port    string
	URLRepo model.URLRepo
}

func (URLHandler) CreateShortURL

func (h URLHandler) CreateShortURL(c echo.Context) error

func (URLHandler) HandleShortURLDetail

func (h URLHandler) HandleShortURLDetail(c echo.Context) error

func (URLHandler) HandleShortURLRedirect

func (h URLHandler) HandleShortURLRedirect(c echo.Context) error

func (URLHandler) Home

func (h URLHandler) Home(c echo.Context) error

Jump to

Keyboard shortcuts

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