paging

package
v3.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EndpointStatusParams added in v3.3.0

type EndpointStatusParams struct {
	EventsPage      int // Number of the event page
	EventsPageSize  int // Size of the event page
	ResultsPage     int // Number of the result page
	ResultsPageSize int // Size of the result page
}

EndpointStatusParams represents all parameters that can be used for paging purposes

func NewEndpointStatusParams added in v3.3.0

func NewEndpointStatusParams() *EndpointStatusParams

NewEndpointStatusParams creates a new EndpointStatusParams

func (*EndpointStatusParams) WithEvents added in v3.3.0

func (params *EndpointStatusParams) WithEvents(page, pageSize int) *EndpointStatusParams

WithEvents sets the values for EventsPage and EventsPageSize

func (*EndpointStatusParams) WithResults added in v3.3.0

func (params *EndpointStatusParams) WithResults(page, pageSize int) *EndpointStatusParams

WithResults sets the values for ResultsPage and ResultsPageSize

Jump to

Keyboard shortcuts

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