xcontext

package
v3.57.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractLocalDC added in v3.42.6

func ExtractLocalDC(ctx context.Context) string

func IsIdempotent added in v3.42.0

func IsIdempotent(ctx context.Context) bool

func IsNestedCall added in v3.54.2

func IsNestedCall(ctx context.Context) bool

func MarkRetryCall added in v3.54.2

func MarkRetryCall(ctx context.Context) context.Context

func WithCancel added in v3.46.1

func WithCancel(ctx context.Context) (context.Context, context.CancelFunc)

func WithIdempotent added in v3.42.0

func WithIdempotent(ctx context.Context, idempotent bool) context.Context

func WithLocalDC added in v3.42.6

func WithLocalDC(ctx context.Context, dc string) context.Context

func WithTimeout added in v3.46.1

func WithoutDeadline added in v3.31.0

func WithoutDeadline(ctx context.Context) context.Context

WithoutDeadline helps to clear derived deadline from deadline

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL