deadlinemargin

package
v2.34.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsMarginExceeded

func IsMarginExceeded(ctx context.Context) bool

IsMarginExceeded returns true if the deadline will be passed within the lookup margin.

func IsWaitMarginExceeded

func IsWaitMarginExceeded(ctx context.Context, wait time.Duration) bool

IsWaitMarginExceeded returns true if the deadline will be exceeded in the given wait time and lookup margin.

Types

This section is empty.

Jump to

Keyboard shortcuts

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