Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AdaptoProviders map[string]*AdaptoProvider
Functions ¶
Types ¶
type AdaptoProvider ¶
type AdaptoProvider struct {
// contains filtered or unexported fields
}
func (*AdaptoProvider) NewTimeout ¶
func (ap *AdaptoProvider) NewTimeout() (timeoutDuration time.Duration, didDeadlineExceed chan<- bool)
type Config ¶
type Counts ¶
type Counts struct {
// contains filtered or unexported fields
}
Counts holds the numbers of context with timeout set. adapto clears the internal Counts when new context is created by adapto and when context created by adapto exceeds deadline.
func (*Counts) DeadlineExceeded ¶
Click to show internal directories.
Click to hide internal directories.