auth

package
v0.0.0-...-434fc75 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Authenticate

func Authenticate(user *model.User, password string) bool

Authenticate 验证用户

func EncryptPassword

func EncryptPassword(password string) (string, error)

EncryptPassword 对密码进行加密

Types

This section is empty.

Jump to

Keyboard shortcuts

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