package
2.0.0
Repository: https://github.com/phihero/typesense-go-ex.git
Documentation: pkg.go.dev

# Packages

Package mocks is a generated GoMock package.

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WithGoBreakerInterval sets the cyclic period of the closed state for CircuitBreaker to clear the internal Counts, described in gobreaker documentation.
WithGoBreakerMaxRequests sets the maximum number of requests allowed to pass through when the CircuitBreaker is half-open.
WithGoBreakerName sets the name of the CircuitBreaker.
WithGoBreakerOnStateChange sets the function that is called whenever the state of CircuitBreaker changes.
WithGoBreakerReadyToTrip sets the function that is called with a copy of Counts whenever a request fails in the closed state.
WithGoBreakerTimeout sets the period of the open state, after which the state of CircuitBreaker becomes half-open.
No description provided by the author

# 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

# Structs

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

# Interfaces

Breaker defines contract for circuit breakers to implement.
No description provided by the author

# Type aliases

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