controllers

package
v0.0.0-...-b0a4e96 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2021 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDemoInfo

func GetDemoInfo(c *gin.Context)

@Summary demo实例 @Produce json @Param id query int true "Id" @Param name query string true "Name" @Success 200 {string} json "{"code":0,"data":{"email": "xxxx", "id": 1, "name": "xxx"},"msg":""}" @Router /api/demo/:id [get]

func GetLoginUser

func GetLoginUser(c *gin.Context)

func Login

func Login(c *gin.Context)

func Logout

func Logout(c *gin.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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