user

package
v0.0.0-...-acbd0ad Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TokenOperationImpl

type TokenOperationImpl struct {
	Tables *db.Tables
}

TokenOperationImpl impl restapi.UserOperation and restapi.Authable interface.

type UserOperationImpl

type UserOperationImpl struct {
	Tables *db.Tables
}

UserOperationImpl impl restapi.UserOperation and restapi.Authable interface.

func (*UserOperationImpl) CreateUser

CreateUser Create user.

func (*UserOperationImpl) GetUser

GetUser Get User Info by id

func (*UserOperationImpl) KeyAuth

func (u *UserOperationImpl) KeyAuth(value string) (*models.AuthInfo, error)

Applies when the "Cookie" header is set

func (*UserOperationImpl) Login

Login 用户登录.

func (*UserOperationImpl) Logout

Logout 用户登出.

func (*UserOperationImpl) Whoami

Whoami 获取当前登录用户信息.

Jump to

Keyboard shortcuts

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