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 ¶
- func ToClientIterator(iterator pagination.IIterator) client.IIterator
- func ToClientPage(page pagination.IStaticPage) client.IStaticPage
- func ToClientStream(stream pagination.IStaticPageStream) client.IMessageStream
- func ToIterator(iterator client.IIterator) pagination.IIterator
- func ToPage(page client.IStaticPage) pagination.IStaticPage
- func ToStream(stream client.IMessageStream) pagination.IStaticPageStream
- func UnwrapIterator(iterator any) any
- func UnwrapPage(page any) any
- func UnwrapStream(stream any) any
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 ¶
func ToPage(page client.IStaticPage) pagination.IStaticPage
ToPage converts a page into another
func ToStream ¶
func ToStream(stream client.IMessageStream) pagination.IStaticPageStream
ToStream converts a message stream into another
func UnwrapIterator ¶ added in v1.9.0
UnwrapIterator tends to unwraps the iterator mappers to retrieve the raw iterator.
func UnwrapPage ¶ added in v1.9.0
UnwrapPage tends to unwrap the page mappers to retrieve the raw page object.
func UnwrapStream ¶ added in v1.9.0
UnwrapStream tends to unwraps the stream mappers to retrieve the raw stream.
Types ¶
This section is empty.