1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-01-10 00:29:01 +02:00
kratos/example/blademaster/middleware/auth
Felix Hao d9cee15ef6
doc and example (#267)
* add doc and example
* rm deprecated ecode.Equal
2019-08-15 11:08:58 +08:00
..
auth.go doc and example (#267) 2019-08-15 11:08:58 +08:00
example_test.go doc and example (#267) 2019-08-15 11:08:58 +08:00
README.md doc and example (#267) 2019-08-15 11:08:58 +08:00

blademaster/middleware/auth

项目简介

blademaster 的 authorization middleware,主要用于设置路由的认证策略

注:仅仅是个demo,请根据自身业务实现具体鉴权逻辑