Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Iterator ¶
type Iterator interface { // Next advances an iterator. Next() bool // Err returns a last encountered error. Err() error // Close frees resources. Close() error }
Iterator is a common interface implemented by all iterators that does not require a context.
type IteratorContext ¶
type IteratorContext interface { // Next advances an iterator. Next(ctx context.Context) bool // Err returns a last encountered error. Err() error // Close frees resources. Close() error }
IteratorContext is a common interface implemented by all iterators that are not bound to the context.
Click to show internal directories.
Click to hide internal directories.