user

package
v0.0.0-...-1d8ee1f Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(c *gin.Context)

Create 创建用户

func Login

func Login(c *gin.Context)

Login .

Types

type CreateRequest

type CreateRequest struct {
	Username string `json:"username"`
	Password string `json:"password"`
}

CreateRequest 创建请求客户端对应结构

type CreateResponse

type CreateResponse struct {
	Username string `json:"username"`
}

CreateResponse 创建响应给客户端结构

Jump to

Keyboard shortcuts

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