Documentation
¶
Overview ¶
Package pool implements the reader pooling.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Constructor ¶
Constructor is the function prototype used to instantiate a pool.
type Pooler ¶
type Pooler interface {
Get(offset int64) (util.SizeReadSeekCloser, bool)
Put(offset int64, rc util.SizeReadSeekCloser) (bool, error)
}
Pooler is the interface implemented by a pool.
func NewNoopPool ¶
NewNoopPool returns a Pooler that doesn't actually pool anything.
Click to show internal directories.
Click to hide internal directories.