madon.go
changeset 149 5f922977d7c7
parent 145 d7ccfe67fa9e
child 151 f87b6ca9de6d
equal deleted inserted replaced
148:ae2cbcf18b55 149:5f922977d7c7
     8 package madon
     8 package madon
     9 
     9 
    10 import (
    10 import (
    11 	"errors"
    11 	"errors"
    12 )
    12 )
       
    13 
       
    14 // LimitParams contains common limit/paging options for the Mastodon REST API
       
    15 type LimitParams struct {
       
    16 	SinceID, MaxID, Limit int
       
    17 }
    13 
    18 
    14 // apiCallParams is a map with the parameters for an API call
    19 // apiCallParams is a map with the parameters for an API call
    15 type apiCallParams map[string]string
    20 type apiCallParams map[string]string
    16 
    21 
    17 const (
    22 const (