Back to godoc.org

Package api

v0.0.0-...-411a92d
Latest Go to latest

The latest major version is .

Published: Jun 11, 2019 | License: MIT | Module: github.com/Quons/go-gin-example

Index

func GetAuth

func GetAuth(c *gin.Context)

GetAuth 验证信息

func UploadImage

func UploadImage(c *gin.Context)

@Summary 上传图片 @Produce json @Param image post file true "图片文件" @Success 200 {string} json "{"code":200,"data":{"image_save_url":"upload/images/96a.jpg", "image_url": "http://..."}" @Router /api/v1/tags/import [post]

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier