user

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2020 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	OauthStateCookieName = "oauth_state"
)

Functions

func Create

func Create(c echo.Context) error

Create 只有可用区的创建功能

func Delete

func Delete(c echo.Context) error

Delete 只有可用区的删除功能

func GenStateString added in v0.2.0

func GenStateString() (string, error)

func Info

func Info(c *core.Context) error

Info get userinfo

func List

func List(c echo.Context) error

List user list

func Login

func Login(c echo.Context) error

Login

func LoginOauth added in v0.2.0

func LoginOauth(c echo.Context) error

func Logout

func Logout(c echo.Context) error

func Update

func Update(c echo.Context) error

Update 只有可用区的更新功能

Types

type ReqUserCreate

type ReqUserCreate struct {
	db.User
}

type ReqUserDelete

type ReqUserDelete struct {
	db.User
}

type ReqUserList

type ReqUserList struct {
	CurrentPage int `query:"currentPage"`
	PageSize    int `query:"pageSize"`
}

type ReqUserUpdate

type ReqUserUpdate struct {
	db.User
}

Jump to

Keyboard shortcuts

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