Documentation
¶
Index ¶
Constants ¶
View Source
const ChromaGoClientUserAgent = "chroma-go-client/0.1.x"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*SimpleRetryStrategy) error
func WithExponentialBackOff ¶
func WithExponentialBackOff() Option
func WithFixedDelay ¶
func WithMaxRetries ¶
type RetryStrategy ¶
type SimpleRetryStrategy ¶
type SimpleRetryStrategy struct { MaxRetries int FixedDelay time.Duration ExponentialBackOff bool RetryableStatusCodes []int }
func NewSimpleRetryStrategy ¶
func NewSimpleRetryStrategy(opts ...Option) (*SimpleRetryStrategy, error)
func (*SimpleRetryStrategy) DoWithRetry ¶
Click to show internal directories.
Click to hide internal directories.