添加一个jwt验证的组件吧。结合jwt-go https://github.com/dgrijalva/jwt-go
Activity
unknwon commentedon Nov 13, 2015
嗯。。我也有这个计划。。
transtone commentedon Nov 14, 2015
才发现auth0官方有例子:
https://github.com/auth0/go-jwt-middleware/tree/master/examples/martini-example
备忘一篇相关文章:
http://blog.brainattica.com/restful-json-api-jwt-go/
unknwon commentedon Nov 14, 2015
还挺简洁的。。macaron移植简直洒洒水。。哈哈0 0
transtone commentedon Nov 22, 2015
https://github.com/gin-gonic/contrib/tree/master/jwt
transtone commentedon Mar 23, 2016
echo的这个很简洁,无闻弄个吧:
https://github.com/labstack/echox/tree/master/recipe/jwt-authentication
unknwon commentedon Mar 23, 2016
这个。。需要时间,服务器磁盘又要满了,gowalker还得重写一下精简存储格式的大小。。