Documentation
¶
Index ¶
- func NoRetryFrom(ctx context.Context) bool
- func ProfileFrom(ctx context.Context) string
- func TimeoutFrom(ctx context.Context) time.Duration
- func WithNoRetry(ctx context.Context, noRetry bool) context.Context
- func WithProfile(ctx context.Context, profile string) context.Context
- func WithTimeout(ctx context.Context, timeout time.Duration) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NoRetryFrom ¶
NoRetryFrom retrieves the noRetry flag from the context.
func ProfileFrom ¶
ProfileFrom retrieves the profile from the context.
func TimeoutFrom ¶
TimeoutFrom retrieves the timeout from the context.
func WithNoRetry ¶
WithNoRetry adds the noRetry flag to the context.
func WithProfile ¶
WithProfile adds the profile to the context.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.