Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Iterator ¶
type Iterator[Req PageRequest, T any] struct { // contains filtered or unexported fields }
func NewIterator ¶
func NewIterator[Req PageRequest, T any]( ctx context.Context, req Req, fetch PageFetcher[Req, T], opts ...grpc.CallOption, ) *Iterator[Req, T]
func (*Iterator[Req, T]) NextPageToken ¶
type PageFetcher ¶
type PageFetcher[Req PageRequest, T any] func( ctx context.Context, req Req, opts ...grpc.CallOption, ) (PageResponse[T], error)
type PageRequest ¶
type PageResponse ¶
Click to show internal directories.
Click to hide internal directories.