Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MaxPoolSize = 1000
MaxPoolSize is max amount of contexts inside pool
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface {
wd.Watchdog
// Closes context and marks it as finished
Close()
// StartedAt returns time, this context was created
StartedAt() time.Time
// GetID returns context ID, unique for each one
ID() rays.RayID
// WithMarker returns clone of context (with same ID), but with new marker
WithMarker(marker string) Interface
// With returns clone of context (with same ID), but with new marker and metrics prefix
With(marker, metricsPrefix string) Interface
}
Interface describes application execution context
Click to show internal directories.
Click to hide internal directories.