4
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2025-06-26 10:59:23 +00:00

Add TLSConfig to nctalk (#1195)

Signed-off-by: Gary Kim <gary@garykim.dev>
This commit is contained in:
Gary Kim
2020-08-30 07:49:26 -04:00
committed by GitHub
parent c63f08c811
commit a0741d99b8
52 changed files with 12389 additions and 368 deletions

View File

@ -18,3 +18,8 @@ const (
// BaseEndpoint is the api endpoint for Nextcloud Talk
BaseEndpoint = "/ocs/v2.php/apps/spreed/api/v1/"
)
// RemoteDavEndpoint returns the endpoint for the Dav API for Nextcloud
func RemoteDavEndpoint(username string, davType string) string {
return "/remote.php/dav/" + username + "/" + davType + "/"
}