/imgs/avatar.jpg

SRE, DevOps, FullStack, K8S, VIM

JWT(Json Web Token)原理讲解

JWT简单原理 JWT的原理是服务器通过用户认证以后, 会生成一个JSON对象响应给用户. 简单示例: 1 2 3 4 5 { "username": "David", "role": "admin", "expire": "2018/10/01 00:00:00" } 之后用户与服务端

Go编程的小Tips

常识 Go 的正确叫法和写法是Go, 而不是golang or GO or go or others. 1 2 3 4 5 6 7 8 9 10 11 12 Is the language called Go or Golang? The language is called Go. The "golang" moniker arose because the web site is golang.org, not go.org, which was not available