ctx

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NoRetryFrom

func NoRetryFrom(ctx context.Context) bool

NoRetryFrom retrieves the noRetry flag from the context.

func ProfileFrom

func ProfileFrom(ctx context.Context) string

ProfileFrom retrieves the profile from the context.

func TimeoutFrom

func TimeoutFrom(ctx context.Context) time.Duration

TimeoutFrom retrieves the timeout from the context.

func WithNoRetry

func WithNoRetry(ctx context.Context, noRetry bool) context.Context

WithNoRetry adds the noRetry flag to the context.

func WithProfile

func WithProfile(ctx context.Context, profile string) context.Context

WithProfile adds the profile to the context.

func WithTimeout

func WithTimeout(ctx context.Context, timeout time.Duration) context.Context

WithTimeout adds the timeout to the context.

Types

This section is empty.

Jump to

Keyboard shortcuts

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