package
2.15.2
Repository: https://github.com/cloudevents/sdk-go.git
Documentation: pkg.go.dev

# Functions

LoggerFrom returns the logger stored in context.
RetriesFrom looks in the given context and returns the retries parameters if found.
TargetFrom looks in the given context and returns `target` as a parsed url if found and valid, otherwise nil.
TopicFrom looks in the given context and returns `topic` as a string if found and valid, otherwise "".
ValuesDelegating wraps a child and parent context.
WithLogger returns a new context with the logger injected into the given context.
WithRetriesConstantBackoff returns back a new context with retries parameters using constant backoff strategy.
WithRetriesExponentialBackoff returns back a new context with retries parameters using exponential backoff strategy.
WithRetriesLinearBackoff returns back a new context with retries parameters using linear backoff strategy.
WithRetryParams returns back a new context with retries parameters.
WithTarget returns back a new context with the given target.
WithTopic returns back a new context with the given topic.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

RetryParams holds parameters applied to retries.

# Type aliases

No description provided by the author