Documentation

Overview

Package handlers provide common utilities for wrapping HTTP handlers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithMinimumLatency

func WithMinimumLatency(target time.Duration, h http.Handler) http.HandlerFunc

WithMinimumLatency wraps the passed in http handler func and ensures a minimum target duration is reached.

Types

This section is empty.

Source Files