Documentation ¶ Index ¶ func NewJwtToken(secret string, data map[string]interface{}) (string, error) func NewJwtTokenExtended(secret string, data map[string]interface{}, valid time.Duration) (string, error) func ParseJwtToken(secret string, token string, extract []string) ([]string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewJwtToken ¶ func NewJwtToken(secret string, data map[string]interface{}) (string, error) func NewJwtTokenExtended ¶ added in v1.28.0 func NewJwtTokenExtended(secret string, data map[string]interface{}, valid time.Duration) (string, error) func ParseJwtToken ¶ func ParseJwtToken(secret string, token string, extract []string) ([]string, error) Types ¶ This section is empty. Source Files ¶ View all Source files jwt.go Click to show internal directories. Click to hide internal directories.