Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateID ¶
Types ¶
type PoolConfig ¶ added in v0.0.2
type PoolConfig struct {
MaxIdle int // maximum idle streams to keep in pool
IdleTimeout time.Duration // max time a stream can be idle before eviction
Enabled bool // whether pool is enabled
}
PoolConfig holds stream pool configuration.
type StreamHandler ¶
Click to show internal directories.
Click to hide internal directories.