pagination

package
v1.11.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package pagination extends the functionality defined in the `pagination` module present golang-utils

Package pagination extends the functionality defined in the `pagination` module present golang-utils

Package pagination extends the functionality defined in the `pagination` module present golang-utils

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToClientIterator added in v1.3.2

func ToClientIterator(iterator pagination.IIterator) client.IIterator

ToClientIterator converts an iterator into another

func ToClientPage added in v1.3.2

func ToClientPage(page pagination.IStaticPage) client.IStaticPage

ToClientPage converts a page into another

func ToClientStream added in v1.3.2

func ToClientStream(stream pagination.IStaticPageStream) client.IMessageStream

ToClientStream converts a message stream into another

func ToIterator

func ToIterator(iterator client.IIterator) pagination.IIterator

ToIterator converts an iterator into another

func ToPage

ToPage converts a page into another

func ToStream

ToStream converts a message stream into another

func UnwrapIterator added in v1.9.0

func UnwrapIterator(iterator any) any

UnwrapIterator tends to unwraps the iterator mappers to retrieve the raw iterator.

func UnwrapPage added in v1.9.0

func UnwrapPage(page any) any

UnwrapPage tends to unwrap the page mappers to retrieve the raw page object.

func UnwrapStream added in v1.9.0

func UnwrapStream(stream any) any

UnwrapStream tends to unwraps the stream mappers to retrieve the raw stream.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL