hystrix

package
v3.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2019 License: Apache-2.0 Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloserFactory

func CloserFactory(config ConfigureCloser) func() circuit.OpenToClosed

CloserFactory creates Closer closer

func OpenerFactory

func OpenerFactory(config ConfigureOpener) func() circuit.ClosedToOpen

OpenerFactory creates a err % opener

Types

type Closer

type Closer = hystrix.Closer

Closer is hystrix's default half-open logic: try again ever X ms

type ConfigureCloser

type ConfigureCloser = hystrix.ConfigureCloser

ConfigureCloser configures values for Closer

type ConfigureOpener

type ConfigureOpener = hystrix.ConfigureOpener

ConfigureOpener configures Opener

type Factory

type Factory = hystrix.Factory

Factory aids making hystrix circuit logic

type Opener

type Opener = hystrix.Opener

Opener is ClosedToOpen that opens a circuit after a threshold and % error has been reached. It is the default hystrix implementation.

Jump to

Keyboard shortcuts

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