package
0.0.0-20240919033358-cce434e5d354
Repository: https://github.com/codfrm/cago.git
Documentation: pkg.go.dev

# Functions

CtxSession 获取session.
Default 获取默认的Authn 使用之前需要先调用SetDefault.
New 创建一个Authn.
No description provided by the author
SetDefault 设置默认的Authn.
No description provided by the author
No description provided by the author
WithSession 设置session.
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Authn 是一个认证模块 集成了用户登录、注册、认证等功能 你可以使用Middleware中间件来对你的请求进行认证.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author
LoginHandler 登录操作 登录成功后返回用户信息.
No description provided by the author
No description provided by the author
No description provided by the author
SaveSession 保存session.
No description provided by the author