Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrConditionNeverMet = errors.New("looped all items and the condition was never met")
)
Functions ¶
Types ¶
type CancelFunc ¶
type CancelFunc func()
type Pageable ¶
type Pageable interface { GetPage(ctx context.Context, page, limit int, opts ...param.Parameter) (Page, error) NextPage(ctx context.Context, page Page) (Page, error) }
Pageable should be implemented by evey struct that supports pagination.
type UntilTrueFunc ¶
Click to show internal directories.
Click to hide internal directories.