meta.go raw

   1  package govultr
   2  
   3  // Meta represents the available pagination information
   4  type Meta struct {
   5  	Total int    `json:"total"`
   6  	Links *Links `json:"links"`
   7  }
   8  
   9  // Links represent the next/previous cursor in your pagination calls
  10  type Links struct {
  11  	Next string `json:"next"`
  12  	Prev string `json:"prev"`
  13  }
  14