package
0.32.1
Repository: https://github.com/adguardteam/golibs.git
Documentation: pkg.go.dev

# Functions

NewTimeoutConstructor returns a new properly initialized *TimeoutConstructor.

# Structs

EmptyConstructor is the implementation of the [Constructor] interface that returns the parent context and an empty [context.CancelFunc].
TimeoutConstructor is an implementation of the [Constructor] interface that returns a context with the given timeout.

# Interfaces

Constructor is an interface for constructing contexts with deadlines, e.g.