没有合适的资源?快使用搜索试试~ 我知道了~
auth:Go标准http处理程序和negroni库的身份验证路由和中间件
共89个文件
go:69个
md:5个
license:4个
需积分: 8 0 下载量 88 浏览量
2021-05-15
04:56:38
上传
评论
收藏 139KB ZIP 举报
温馨提示
Go标准HTTP库和Negroni的身份验证中间件 这是一个提供基于JWT令牌的安全身份验证的库,以及一个用于存储用户和哈希密码的实现 特征 通过可配置存储对用户进行身份验证 net/http兼容 中间件 JSON Web令牌(JWT)的使用 JSON介面 店铺支持 螺栓数据库 标准库示例 package main import ( "fmt" "log" "net/http" "time" "github.com/boltdb/bolt" "github.com/dahernan/auth" "github.com/dahernan/auth/jwt" "github.com/dahernan/auth/store" ) func main () { // Using BoltDB to store the users db , err := bolt . Open
资源推荐
资源详情
资源评论
收起资源包目录
auth-master.zip (89个子文件)
auth-master
LICENSE 11KB
auth_test.go 14KB
auth.go 4KB
.gitignore 302B
crypto
crypto.go 484B
README.md 5KB
jwt
jwt.go 2KB
jwt_test.go 7KB
Godeps
Godeps.json 906B
_workspace
src
github.com
gorilla
context
.travis.yml 50B
doc.go 2KB
context.go 3KB
LICENSE 1KB
context_test.go 3KB
README.md 284B
boltdb
bolt
bolt_windows.go 2KB
bolt_amd64.go 123B
bucket_test.go 31KB
cmd
bolt
buckets.go 499B
info.go 406B
stats_test.go 2KB
main_test.go 2KB
buckets_test.go 760B
keys.go 650B
keys_test.go 1KB
pages.go 1KB
get.go 710B
get_test.go 1KB
check.go 709B
main.go 5KB
info_test.go 730B
bench.go 10KB
stats.go 2KB
node_test.go 6KB
cursor_test.go 12KB
bucket.go 20KB
doc.go 2KB
cursor.go 10KB
bolt_arm.go 117B
bolt_linux.go 203B
simulation_test.go 7KB
bolt_openbsd.go 535B
db.go 18KB
errors.go 2KB
bolt_386.go 117B
boltsync_unix.go 186B
LICENSE 1KB
tx_test.go 11KB
freelist.go 6KB
freelist_test.go 3KB
tx.go 15KB
page.go 3KB
.gitignore 20B
bolt_unix.go 2KB
node.go 17KB
quick_test.go 2KB
Makefile 1KB
README.md 18KB
page_test.go 814B
db_test.go 18KB
bolt_test.go 971B
dgrijalva
jwt-go
rsa.go 3KB
cmd
jwt
app.go 5KB
doc.go 166B
rsa_utils.go 2KB
rsa_test.go 5KB
test
sample_key.pub 451B
hmacTestKey 64B
sample_key 2KB
signing_method.go 677B
example_test.go 2KB
LICENSE 1KB
hmac.go 2KB
jwt.go 7KB
VERSION_HISTORY.md 3KB
jwt_test.go 6KB
.gitignore 16B
hmac_test.go 3KB
README.md 3KB
golang.org
x
crypto
pbkdf2
pbkdf2.go 2KB
pbkdf2_test.go 3KB
scrypt
scrypt.go 6KB
scrypt_test.go 4KB
.gitignore 10B
Readme 136B
store
boltdb_test.go 4KB
boltdb.go 2KB
redis.go 2KB
store.go 827B
共 89 条
- 1
资源评论
一起快走吧
- 粉丝: 31
- 资源: 4658
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功