breaker

package
v0.0.0-...-315a808 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2024 License: MIT Imports: 6 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