responses

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeysetBasedList

type KeysetBasedList struct {
	Limit       int    `json:"limit"`
	Hash        string `json:"hash"`
	HasNextPage bool   `json:"has_next_page"`
	NextCursor  string `json:"next_cursor"`
}

func (*KeysetBasedList) FinalizeResponse

func (r *KeysetBasedList) FinalizeResponse(data interface{}, dataLength int) (int, error)

type OffsetBasedList

type OffsetBasedList struct {
	Hash       string `json:"hash"`
	Limit      int    `json:"limit"`
	Offset     int    `json:"offset"`
	TotalCount int    `json:"total_count"`
}

func (*OffsetBasedList) GenerateHash

func (r *OffsetBasedList) GenerateHash(data interface{}) error

Jump to

Keyboard shortcuts

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