handler

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UrlChange

func UrlChange(c *gin.Context)

func UrlGet

func UrlGet(c *gin.Context)

Types

type URLParam

type URLParam struct {
	URL string `form:"url" json:"url" binding:"required"`
}

type URLResp

type URLResp struct {
	TinyURL string `json:"tinyurl"`
}

Jump to

Keyboard shortcuts

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