limiter

package
v0.10.4 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrReviewableTransfer = errors.New("require manual review")
	ErrOverLimits         = errors.New("rejected transfer - over all limits")
)

Functions

This section is empty.

Types

type Checker

type Checker interface {
	Accept(organization string, xfer *client.Transfer) error
}

func New

func New(cfg config.Limits) (Checker, error)

Jump to

Keyboard shortcuts

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