4
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2025-07-07 18:14:03 +00:00

Add Nextcloud Talk support (#1167)

Signed-off-by: Gary Kim <gary@garykim.dev>
This commit is contained in:
Gary Kim
2020-07-18 22:08:25 +08:00
committed by GitHub
parent 213bf349c3
commit 71a5b72aff
33 changed files with 1473 additions and 1 deletions

18
vendor/github.com/monaco-io/request/resp.go generated vendored Normal file
View File

@ -0,0 +1,18 @@
package request
// StatusCode get response status code
func (s *SugaredResp) StatusCode() (code int) {
return s.resp.StatusCode
}
// Status get response status code and text, like 200 ok
func (s *SugaredResp) Status() (status string) {
return s.resp.Status
}
// Close close response body
func (s *SugaredResp) Close() {
if s.resp != nil {
_ = s.resp.Body.Close()
}
}