madon.go
changeset 159 408aa794d9bb
parent 158 083d33bb419b
child 162 68df3a01e1a7
equal deleted inserted replaced
158:083d33bb419b 159:408aa794d9bb
    11 	"errors"
    11 	"errors"
    12 )
    12 )
    13 
    13 
    14 // LimitParams contains common limit/paging options for the Mastodon REST API
    14 // LimitParams contains common limit/paging options for the Mastodon REST API
    15 type LimitParams struct {
    15 type LimitParams struct {
    16 	Limit          int  // Number of items per query
    16 	Limit          int   // Number of items per query
    17 	SinceID, MaxID int  // Boundaries
    17 	SinceID, MaxID int64 // Boundaries
    18 	All            bool // Get as many items as possible
    18 	All            bool  // Get as many items as possible
    19 }
    19 }
    20 
    20 
    21 // apiCallParams is a map with the parameters for an API call
    21 // apiCallParams is a map with the parameters for an API call
    22 type apiCallParams map[string]string
    22 type apiCallParams map[string]string
    23 
    23