lilurl

package
v0.0.0-...-99ea408 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

func NewHandler

func NewHandler(db *sqlx.DB) *Handler

NewHandler initializes a new handler

func (*Handler) GetByID

func (h *Handler) GetByID(c fiber.Ctx) error

GetByID retrieves a lilurl by its ID

func (*Handler) GetByShortURL

func (h *Handler) GetByShortURL(c fiber.Ctx) error

GetByShortURL retrieves a lilurl by its ID

func (*Handler) Post

func (h *Handler) Post(c fiber.Ctx) error

Jump to

Keyboard shortcuts

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