Commit graph

16 commits

Author SHA1 Message Date
Alexander Bakker
972ffb4771 Introduce APIError type and make ErrorEvent.Err public
This makes it a little bit easier to act on API errors that happen while
streaming.
2023-03-11 12:16:06 +01:00
Brint E. Kriebel
9faaa4f0dc Add support for edited statuses
ActivityPub supports "status.update" for editing statuses. These should
be made available for streams.
2022-12-28 23:59:18 +09:00
Michal Vyskocil
29bb16009b fix go vet warnings: call to (*T).Fatalf from a non-test goroutine
The goroutine started from test must not call t.Fatal, but t.Error. Adds
a sync.WaitGroup to make sure all goroutines have a chance to report an
error before test stops.
2022-12-13 09:12:56 +09:00
Alexander Bakker
87278bda2e Use bufio.Reader instead of bufio.Scanner when streaming
I occasionally run into "bufio.Scanner: token too long" while
streaming. This change should prevent that from happening.
2022-05-03 22:16:38 +09:00
WaybackBot
bf42b86b9f Add streaming direct support 2021-05-15 23:42:50 +09:00
Christian Muehlhaeuser
e725c81450 Added tests for list API calls 2019-05-12 23:58:10 +09:00
Yasuhiro Matsumoto
aef736e991 fix IDs 2017-10-25 15:22:17 +09:00
178inaba
c32612c3c9 Add TestStreamingHashtag 2017-04-30 04:53:13 +09:00
178inaba
e2a440b170 Add TestStreamingUser 2017-04-30 04:41:56 +09:00
178inaba
9b39dd033f Add TestDoStreaming 2017-04-30 04:30:04 +09:00
178inaba
088cb0b74d Fix TestHandleReader 2017-04-30 03:19:58 +09:00
178inaba
517247284e Optimize streaming 2017-04-30 03:12:55 +09:00
178inaba
c66c3aaa22 Add TestHandleReader 2017-04-29 03:42:45 +09:00
178inaba
9fa63b511c Fix local streaming 2017-04-28 14:09:10 +09:00
y0za
e9f28b9c6e Fix test json property name 2017-04-20 19:37:24 +09:00
Yasuhiro Matsumoto
9f84e175f1 separate test file 2017-04-16 20:05:42 +09:00