url

package
v0.0.0-...-91ab160 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseDB

func CloseDB()

func CreateShortURLHandler

func CreateShortURLHandler(c *gin.Context)

短链接服务handler

func GenerateShortURL

func GenerateShortURL(longURL string) string

生成短链接

func GetBaseURL

func GetBaseURL() string

短链接baseurl

func RedirectFromShortURLHandler

func RedirectFromShortURLHandler(c *gin.Context)

RedirectFromShortURLHandler

Types

This section is empty.

Jump to

Keyboard shortcuts

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