gobreaker

package module
v0.0.0-...-fa6fafb Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 License: Apache-2.0 Imports: 5 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, bm BreakerMethod) client.Wrapper

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

Types

type BreakerMethod

type BreakerMethod int
const (
	BreakService BreakerMethod = iota
	BreakServiceEndpoint
)

Jump to

Keyboard shortcuts

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