url_implementation

package
v0.0.0-...-21410c9 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateURLHandler

func CreateURLHandler(createURLParams url.CreateURLParams, db storage.Storage) middleware.Responder

CreateURLHandler handles /api/url requests

func DeleteURLHandler

func DeleteURLHandler(deleteURLParams url.DeleteURLParams, db storage.Storage) middleware.Responder

DeleteURLHandler handles DELETE /api/url/{shortURL} requests

func GetURLHandler

func GetURLHandler(getURLParams url.GetURLParams, db storage.Storage) middleware.Responder

GetURLHandler handles GET /api/url/{shortURL} requests

Types

This section is empty.

Jump to

Keyboard shortcuts

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