package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev

# Functions

NewLocalService returns an throttler service that manages state purely in local memory.
WithBaseDelay specifies the base delay for rate limiting repeated accesses.

# Constants

AttemptInvalidCredentials indicates something went wrong during authentication.
AttemptOK indicates the client's provided the correct user and password.

# Structs

ConnectionTags contains the parameters the throttle service uses to determine if a connection attempt should be allowed.

# Interfaces

Service provides the interface for performing throttle checks before requests into the managed service system.

# Type aliases

AttemptStatus is used to communicate to the throttler if the authentication attempt was successful or not.
LocalOption allows configuration of a local admission service.