package
Version:
v0.0.0-...-a03c5e1
Opens a new window with list of versions in this module.
Published: Apr 22, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func (Healthz) Handle ¶
Handle shows server is up and running.
nolint: wrapcheck
func (h Healthz) Register(g *echo.Group)
Register registers the routes of healthz handler on given echo group.
URL handles interaction with URLs.
func (h URL) Create(c echo.Context) error
Create generates short URL and save it on database.
nolint: wrapcheck
func (h URL) Register(g *echo.Group)
Register registers the routes of URL handler on given group.
func (h URL) Retrieve(c echo.Context) error
Retrieve retrieves URL for given short URL and redirect to it.
nolint: wrapcheck
Source Files
¶
Click to show internal directories.
Click to hide internal directories.