delayhandler

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2026 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CancelDelay

func CancelDelay(ctx context.Context)

func NewConnect

func NewConnect(limits Limits) connect.Interceptor

func NewHTTP

func NewHTTP(limits Limits) func(h http.Handler) http.Handler

func WithDelayCancel

func WithDelayCancel(ctx context.Context, cancel context.CancelFunc) context.Context

Types

type Limits

type Limits interface {
	IngestionArtificialDelay(tenantID string) time.Duration
}

Jump to

Keyboard shortcuts

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