gobreaker

package module
v0.20.8 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2021 License: MIT 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