user

package
v0.5.9 Latest Latest
Warning

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

Go to latest
Published: May 5, 2023 License: Apache-2.0 Imports: 30 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 GetAppConfig added in v0.4.3

func GetAppConfig(c echo.Context) error

获取用户使用的一些基本情况

func GetAppViewHistory added in v0.4.3

func GetAppViewHistory(c echo.Context) error

获取应用浏览历史

func GetTabVisit added in v0.4.3

func GetTabVisit(c echo.Context) 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 PostAppConfig added in v0.4.3

func PostAppConfig(c echo.Context) error

func PostAppViewHistory added in v0.4.3

func PostAppViewHistory(c echo.Context) error

添加应用浏览历史

func PostTabVisit added in v0.4.3

func PostTabVisit(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