breaker

package
v0.0.0-...-3e22abe Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClientWrapper

func NewClientWrapper() client.Wrapper

NewClientWrapper returns a client Wrapper.

func NewCustomClientWrapper

func NewCustomClientWrapper(bs gobreaker.Settings, scope Scope) client.Wrapper

NewCustomClientWrapper takes a gobreaker.Settings and BreakerMethod. Returns a client Wrapper.

Types

type Scope

type Scope int
const (
	BreakService Scope = iota
	BreakServiceEndpoint
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL