Versions in this module Expand all Collapse all v0 v0.2.1 Jan 8, 2020 v0.2.0 Jan 8, 2020 v0.1.0 May 4, 2017 Changes in this version + var SigningKey = []byte("todo: randomize this key") + func CreateJwtWithIdRole(id string, role string, secondsToExpiration int64) (string, error) + type CustomClaims struct + Id string + Role string + func ParseJwt(tokenStr string) (*jwtgo.Token, *CustomClaims, error)