Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContextWithPrincipal ¶
ContextWithPrincipal returns a context.Context that has been augmented with the provided principal.
func PrincipalFromContext ¶
PrincipalFromContext extracts a principal from the provided context.Context and returns it.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.