Documentation ¶
Index ¶
Constants ¶
View Source
const ( // BasePath is the base URI path for serving favourites BasePath = "/api/v1/favourites" // MaxIDKey is the url query for setting a max status ID to return MaxIDKey = "max_id" // SinceIDKey is the url query for returning results newer than the given ID SinceIDKey = "since_id" // MinIDKey is the url query for returning results immediately newer than the given ID MinIDKey = "min_id" // LimitKey is for specifying maximum number of results to return. LimitKey = "limit" // LocalKey is for specifying whether only local statuses should be returned LocalKey = "local" )
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(processor processing.Processor) api.ClientModule
New returns a new favourites module
Types ¶
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
Module implements the ClientAPIModule interface for everything relating to viewing favourites
func (*Module) FavouritesGETHandler ¶
FavouritesGETHandler handles GETting favourites.
Click to show internal directories.
Click to hide internal directories.