github.com/ydb-platform/ydb-go-sdk/v3@v3.57.0/meta.go (about) 1 package ydb 2 3 import ( 4 "context" 5 6 "github.com/ydb-platform/ydb-go-sdk/v3/meta" 7 ) 8 9 // WithTraceID returns a copy of parent context with traceID 10 // 11 // Deprecated: use meta.WithTraceID instead 12 func WithTraceID(ctx context.Context, traceID string) context.Context { 13 return meta.WithTraceID(ctx, traceID) 14 } 15 16 // WithRequestType returns a copy of parent context with custom request type 17 // 18 // Deprecated: use meta.WithRequestType instead 19 func WithRequestType(ctx context.Context, requestType string) context.Context { 20 return meta.WithRequestType(ctx, requestType) 21 }