Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IndexController ¶
type IndexController struct { }
IndexController for URL shorten handling
func (*IndexController) GetShortHandler ¶
func (c *IndexController) GetShortHandler(ctx *gin.Context)
GetShortHandler for getting shorten URL querying result
func (*IndexController) IndexHandler ¶
func (c *IndexController) IndexHandler(ctx *gin.Context)
IndexHandler for rendering the index page
func (*IndexController) ShortURLHandler ¶
func (c *IndexController) ShortURLHandler(ctx *gin.Context)
ShortURLHandler for shorten long URL
type InfoController ¶
type InfoController struct { }
InfoController for URL shorten handling
func (*InfoController) GetURLInfoHandler ¶
func (c *InfoController) GetURLInfoHandler(ctx *gin.Context)
GetURLInfoHandler for rendering the index page
Click to show internal directories.
Click to hide internal directories.