resilience

package
v0.0.0-...-17e6b21 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CircuitBreaker

type CircuitBreaker struct {
	// contains filtered or unexported fields
}

func (*CircuitBreaker) Execute

func (cb *CircuitBreaker) Execute(
	ctx context.Context,
	request *proto.CircuitBreakerRequest,
) (*proto.CircuitBreakerResponse, error)

type ResilienceManager

type ResilienceManager struct {
	// contains filtered or unexported fields
}

func (*ResilienceManager) ManageResilience

func (rm *ResilienceManager) ManageResilience(
	ctx context.Context,
	request *proto.ResilienceManagementRequest,
) (*proto.ResilienceManagementResponse, error)

type State

type State int
const (
	StateClosed State = iota
	StateOpen
	StateHalfOpen
)

Jump to

Keyboard shortcuts

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