mattn / go-mastodon

mastodon client for golang
MIT License
599 stars 85 forks source link

Obtain streaming url from Mastodon instance info #178

Open alexbakker opened 1 year ago

alexbakker commented 1 year ago

Apparently we shouldn't make assumptions about the streaming endpoint. See: https://github.com/mastodon/mastodon/issues/23383#issuecomment-1455054265

Also related: #176

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 25.00% and project coverage change: -0.69 :warning:

Comparison is base (9faaa4f) 87.51% compared to head (92af8a1) 86.83%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #178 +/- ## ========================================== - Coverage 87.51% 86.83% -0.69% ========================================== Files 15 15 Lines 1354 1360 +6 ========================================== - Hits 1185 1181 -4 - Misses 125 133 +8 - Partials 44 46 +2 ``` | [Impacted Files](https://codecov.io/gh/mattn/go-mastodon/pull/178?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mattn) | Coverage Δ | | |---|---|---| | [streaming.go](https://codecov.io/gh/mattn/go-mastodon/pull/178?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mattn#diff-c3RyZWFtaW5nLmdv) | `90.00% <25.00%> (-7.59%)` | :arrow_down: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mattn). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mattn)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.