madon.go
changeset 156 70aadba26338
parent 154 eb83fd052cc5
child 157 6e9d927d5e32
equal deleted inserted replaced
155:0c581e0108da 156:70aadba26338
    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 	SinceID, MaxID, Limit int
    16 	Limit          int  // Number of items per query
       
    17 	SinceID, MaxID int  // Boundaries
       
    18 	All            bool // Get as many items as possible
    17 }
    19 }
    18 
    20 
    19 // apiCallParams is a map with the parameters for an API call
    21 // apiCallParams is a map with the parameters for an API call
    20 type apiCallParams map[string]string
    22 type apiCallParams map[string]string
    21 
    23