test

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const FailAllAttempts = -1

Variables

This section is empty.

Functions

This section is empty.

Types

type SimpleTrafficController

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

func NewSimpleTrafficController

func NewSimpleTrafficController() *SimpleTrafficController

func (*SimpleTrafficController) AddError

func (tc *SimpleTrafficController) AddError(operation string, err error, failAttempts ...int)

func (*SimpleTrafficController) CheckCallAllowed

func (tc *SimpleTrafficController) CheckCallAllowed(_ context.Context, method string, _, _ interface{}) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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