package xcontext
import "github.com/ydb-platform/ydb-go-sdk/v3/internal/xcontext"
Index ¶
- func ExtractLocalDC(ctx context.Context) string
- func IsIdempotent(ctx context.Context) bool
- func IsNestedCall(ctx context.Context) bool
- func MarkRetryCall(ctx context.Context) context.Context
- func WithCancel(ctx context.Context) (context.Context, context.CancelFunc)
- func WithIdempotent(ctx context.Context, idempotent bool) context.Context
- func WithLocalDC(ctx context.Context, dc string) context.Context
- func WithTimeout(ctx context.Context, t time.Duration) (context.Context, context.CancelFunc)
- func WithoutDeadline(ctx context.Context) context.Context
Functions ¶
func ExtractLocalDC ¶
func IsIdempotent ¶
func IsNestedCall ¶
func MarkRetryCall ¶
func WithCancel ¶
func WithIdempotent ¶
func WithLocalDC ¶
func WithTimeout ¶
func WithoutDeadline ¶
WithoutDeadline helps to clear derived deadline from deadline
Source Files ¶
context_error.go context_with_cancel.go context_with_timeout.go idempotent.go local_dc.go retry_call.go without_deadline.go
- Version
- v3.54.2
- Published
- Nov 10, 2023
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 4 minutes ago –
Tools for package owners.