Documentation ¶
Index ¶
Constants ¶
View Source
const ( RequestIDKey = "requestId" AccountIDKey = "accountId" UserIDKey = "userId" EmailKey = "email" FirstNameKey = "firstName" LastNameKey = "lastName" TypeKey = "type" SubTypeKey = "subType" RolesKey = "roles" InternalKey = "internal" )
Variables ¶
This section is empty.
Functions ¶
func HasRole ¶ added in v0.5.26
HasRole returns true if the given role string occurs in metadata.roles
func NewOutgoingContext ¶ added in v0.5.7
func NewRequestID ¶
func NewRequestID() string
Types ¶
Click to show internal directories.
Click to hide internal directories.