Documentation
¶
Index ¶
- func RequestID(ctx context.Context) string
- func TenantID(ctx context.Context) string
- func TraceID(ctx context.Context) string
- func WithIdentity(ctx context.Context, identity IdentityContext) context.Context
- func WithRequestID(ctx context.Context, id string) context.Context
- func WithTenantID(ctx context.Context, tenantID string) context.Context
- func WithTraceID(ctx context.Context, id string) context.Context
- type IdentityContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithIdentity ¶
func WithIdentity(ctx context.Context, identity IdentityContext) context.Context
Types ¶
type IdentityContext ¶
func Identity ¶
func Identity(ctx context.Context) IdentityContext
Click to show internal directories.
Click to hide internal directories.