meta

package
v0.0.0-...-04d676d Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Meta

type Meta interface {
	GetMeta() map[string]interface{}
}

Meta is an interface for interaction with response's metadata.

type Pagination

type Pagination struct {
	ResultCount uint `json:"result_count"`
	Limit       uint `json:"limit"`
	Offset      uint `json:"offset"`
}

Pagination holds response's metadata.

func (Pagination) GetMetaData

func (p Pagination) GetMetaData() map[string]interface{}

GetMetaData returns response's metadata.

Jump to

Keyboard shortcuts

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