hystrix

package
v1.15.5 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigAdd

func ConfigAdd(name string)

func NewAny added in v1.3.2

func NewAny[R any](ctx context.Context, name string) grapper.AnyMiddleware[R]

func NewAnyError added in v1.3.2

func NewAnyError[R any](ctx context.Context, name string) grapper.AnyErrorMiddleware[R]

func NewError added in v1.3.2

func NewError(ctx context.Context, name string) grapper.ErrorMiddleware

Types

type Options

type Options struct {
	Enabled bool
}

Options struct which represents options.

func NewOptions

func NewOptions(name string) (opts *Options, err error)

NewOptions returns options from config path.

Jump to

Keyboard shortcuts

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