api

package
v0.0.0-...-12e66ea Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EchoHelp

func EchoHelp(c *gin.Context)

EchoHelp echo help @Summary echo help @Author l.jiang.1024@gmail.com @Description echo help @Tags Link @Router / [GET]

func EchoNotFound

func EchoNotFound(c *gin.Context)

EchoNotFound echo not found @Summary echo not found @Author l.jiang.1024@gmail.com @Description echo not found @Tags Link @Router /404 [GET]

func Fail

func Fail(c *gin.Context, msg string)

func LinkAdd

func LinkAdd(c *gin.Context)

LinkAdd add new link @Summary add new link @Author l.jiang.1024@gmail.com @Description add new link @Tags Link @Router /api/v1/links [POST]

func LinkJump

func LinkJump(c *gin.Context)

LinkJump jump link @Summary jump link @Author l.jiang.1024@gmail.com @Description jump link @Tags Link @Router /:link_id [get]

func Success

func Success(c *gin.Context, msg string, data interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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