Documentation
¶
Overview ¶
Package services provides common functionality to be reused by service implementations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsRetryable ¶
IsRetryable indicates whether the error is caused by an operation that timed out due to a temporary unavailability and may be retried with a backoff potentially. IsRetryable returns false if the error is nil or if the error is caused by an operation that cannot be retried due to failed preconditions, invalid arguments, or on any other grounds.
func NewRetryableError ¶
NewRetryableError creates and returns a new error from the given error indicating that it is retryable. Returns nil if the given error is nil.
Use the function IsRetryable(error) to check whether a given error is retryable or not.
func RetryableErrorf ¶
RetryableErrorf returns a retryable error that formats according to the given format specifier.
Use the function IsRetryable(error) to check whether a given error is retryable or not.
Types ¶
This section is empty.
Directories
¶
Path | Synopsis |
---|---|
Package com provides a factory function that creates a specific communication binding from a given communication protocol.
|
Package com provides a factory function that creates a specific communication binding from a given communication protocol. |
api
Package api provides the communication API for data-centric message-driven communication among decoupled DDAs.
|
Package api provides the communication API for data-centric message-driven communication among decoupled DDAs. |
mqtt5
Package mqtt5 provides a communication protocol binding implementation for MQTT v5 transport protocol.
|
Package mqtt5 provides a communication protocol binding implementation for MQTT v5 transport protocol. |
Package store provides a factory function that creates a specific storage binding from a given storage engine.
|
Package store provides a factory function that creates a specific storage binding from a given storage engine. |
api
Package api provides the local storage API for a single DDA sidecar or instance.
|
Package api provides the local storage API for a single DDA sidecar or instance. |
pebble
Package pebble provides a storage binding implementation for the [Pebble] storage engine.
|
Package pebble provides a storage binding implementation for the [Pebble] storage engine. |