mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-19 12:53:01 -06:00
Home timeline (#28)
* v. basic implementation of home timeline * Go fmt ./...
This commit is contained in:
parent
d839f27c30
commit
0df2e18cc0
14 changed files with 317 additions and 52 deletions
|
|
@ -121,6 +121,9 @@ type Processor interface {
|
|||
// StatusUnfave processes the unfaving of a given status, returning the updated status if the fave goes through.
|
||||
StatusUnfave(authed *oauth.Auth, targetStatusID string) (*apimodel.Status, error)
|
||||
|
||||
// HomeTimelineGet returns statuses from the home timeline, with the given filters/parameters.
|
||||
HomeTimelineGet(authed *oauth.Auth, maxID string, sinceID string, minID string, limit int, local bool) ([]apimodel.Status, ErrorWithCode)
|
||||
|
||||
/*
|
||||
FEDERATION API-FACING PROCESSING FUNCTIONS
|
||||
These functions are intended to be called when the federating client needs an immediate (ie., synchronous) reply
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue