Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Respond ¶
func Respond(w http.ResponseWriter, data map[string]interface{})
Types ¶
type HelizClaims ¶
type HelizClaims struct { Email string `json:"email"` Scopes []string `json:"scopes"` jwt.StandardClaims }
Create a struct that will be encoded to a JWT. We add jwt.StandardClaims as an embedded type, to provide fields like expiry time
Click to show internal directories.
Click to hide internal directories.