package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev

# Functions

NewBreaker instantiates a new circuit breaker.

# Variables

ErrBreakerOpen is a reference error that matches the errors returned from Breaker.Err(), i.e.

# Structs

Breaker is a circuit breaker.
EventFormatter allows direct access to the translation of EventHandler inputs to log line suitable for formatted output.
EventLogger is an implementation of EventHandler that relays to a logging function.
Options are the arguments to NewBreaker.

# Interfaces

An EventHandler is reported to by circuit breakers.
Signal is returned from the Breaker.Signal method.