Documentation ¶
Index ¶
Constants ¶
View Source
const TokenHeader = "x-access-token"
TokenHeader is the header to be used across grpc and http services to forward the access token.
Variables ¶
This section is empty.
Functions ¶
func ContextGetToken ¶
ContextGetToken returns the token if set in the given context.
func ContextMustGetToken ¶
ContextMustGetToken panics if token is not in context.
Types ¶
Click to show internal directories.
Click to hide internal directories.