gobreaker

package module
v2.9.1 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: Apache-2.0 Imports: 5 Imported by: 1

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