type IteratorPool … type StreamPool … func (cfg *frozenConfig) BorrowStream(writer io.Writer) *Stream { … } func (cfg *frozenConfig) ReturnStream(stream *Stream) { … } func (cfg *frozenConfig) BorrowIterator(data []byte) *Iterator { … } func (cfg *frozenConfig) ReturnIterator(iter *Iterator) { … }