Versions in this module Expand all Collapse all v1 v1.0.3 Apr 18, 2025 v1.0.1 Apr 18, 2025 Changes in this version + func TestInvalidPoolCreation(t *testing.T) + func TestMemoryContextCreation(t *testing.T) + func TestValidPoolCreation(t *testing.T) + type DefaultConfigValues struct + EnableChannelGrowth bool + ExponentialThresholdFactor float64 + FastPathExponentialThresholdFactor float64 + FastPathFixedGrowthFactor float64 + FastPathGrowthPercent float64 + FastPathShrinkAggressiveness pool.AggressivenessLevel + FastPathShrinkMinCapacity int + FastPathShrinkPercent float64 + FillAggressiveness float64 + FixedGrowthFactor float64 + GrowthEventsTrigger int + GrowthPercent float64 + HardLimit int + IdleThreshold time.Duration + InitialCapacity int + InitialSize int + MaxConsecutiveShrinks int + MinIdleBeforeShrink int + MinShrinkCapacity int + MinUtilizationBeforeShrink float64 + ReadTimeout time.Duration + RefillPercent float64 + RingBufferBlocking bool + ShrinkAggressiveness pool.AggressivenessLevel + ShrinkCheckInterval time.Duration + ShrinkCooldown time.Duration + ShrinkEventsTrigger int + ShrinkPercent float64 + StableUnderutilizationRounds int + Verbose bool + WriteTimeout time.Duration + type Job struct + Buffer *TestBuffer + ID int + Metadata *TestMetadata + Processor *TestObject + type TestBuffer struct + Data []byte + Size int + type TestJob struct + Buffer TestBuffer + CreatedAt time.Time + ID int + Metadata TestMetadata + type TestMetadata struct + Priority int + Tags []string + Timestamp time.Time + type TestObject struct + Value int