Versions in this module Expand all Collapse all v1 v1.1.0 Nov 7, 2026 v1.0.0 Nov 7, 2026 Changes in this version + func Detach(parent context.Context) context.Context + func RequestID(ctx context.Context) string + func Trace(ctx context.Context) string + func WithActor(ctx context.Context, a Actor) context.Context + func WithRequestID(ctx context.Context, id string) context.Context + func WithTenant(ctx context.Context, t Tenant) context.Context + func WithTrace(ctx context.Context, traceID string) context.Context + type Actor struct + DeviceID string + Roles []string + UserID uuid.UUID + func ActorOf(ctx context.Context) Actor + func (a Actor) HasRole(role string) bool + type Tenant struct + AccountID uuid.UUID + Operator bool + func TenantOf(ctx context.Context) Tenant + func (t Tenant) Zero() bool