responses

package
v1.3.14 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2024 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 added in v1.1.1

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 added in v1.3.6

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

type OffsetBasedList added in v1.1.1

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

func (*OffsetBasedList) GenerateHash added in v1.1.1

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