Documentation
¶
Index ¶
- func With(ctx context.Context, pageSize int, maxPages int) context.Context
- type Interface
- type Paged
- func (o *Paged) AddMedia(ctx context.Context, ref syncf.Ref[*receiver.Media], anchor string, ...) error
- func (o *Paged) BreakPage(ctx context.Context) error
- func (o *Paged) Flush(ctx context.Context) error
- func (o *Paged) IsOverflown() bool
- func (o *Paged) PageCapacity(ctx context.Context) int
- func (o *Paged) UpdatePrefix(update func(prefix string) string)
- func (o *Paged) UpdateSuffix(update func(suffix string) string)
- func (o *Paged) Write(text string)
- func (o *Paged) WriteBreakable(ctx context.Context, text string) error
- func (o *Paged) WriteUnbreakable(ctx context.Context, text string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Paged ¶
func (*Paged) IsOverflown ¶
func (*Paged) UpdatePrefix ¶
func (*Paged) UpdateSuffix ¶
func (*Paged) WriteBreakable ¶
Click to show internal directories.
Click to hide internal directories.