Documentation ¶
Index ¶
- func GetLoggerInContext(ctx context.Context) zerolog.Logger
- func GetRequestIDInContext(ctx context.Context) string
- func GetRequestPatternInContext(ctx context.Context) string
- func GetRequestedScopesInContext(ctx context.Context) (map[string]bool, bool)
- func GetUsernameInContext(ctx context.Context) (string, bool)
- func SetLoggerInContext(ctx context.Context, logger zerolog.Logger) context.Context
- func SetRequestIDInContext(ctx context.Context, requestID string) context.Context
- func SetRequestPatternInContext(ctx context.Context, pattern string) context.Context
- func SetRequestedScopesInContext(r *http.Request, scopes map[string]bool) *http.Request
- func SetUsernameInContext(r *http.Request, username string) *http.Request
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRequestIDInContext ¶
func SetLoggerInContext ¶
func SetRequestIDInContext ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.