README

Go Library for Nextcloud Talk

Build Status Godoc

A Go library that can be used to communicate with Nextcloud Talk instances.

Installing

You can use this library in your Go projects by installing it with go mod:

GO111MODULE=on go get gomod.garykim.dev/nc-talk

Check out the documentation for the package here.

Software using this library
License

Copyright © 2020 Gary Kim <gary@garykim.dev>, All Rights Reserved

Licensed under Apache-2.0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRoom

func NewRoom(tuser *user.TalkUser, token string) *room.TalkRoom

NewRoom returns a new TalkRoom instance Token should be the Nextcloud Room Token (e.g. "d6zoa2zs" if the room URL is https://cloud.mydomain.me/call/d6zoa2zs)

Deprecated: Use room.NewRoom instead for extra error checks.

func NewUser

func NewUser(url string, username string, password string) *user.TalkUser

NewUser returns a TalkUser instance The url should be the full URL of the Nextcloud instance (e.g. https://cloud.mydomain.me)

Deprecated: Use user.NewTalkUser instead for more options and error checks

Types

This section is empty.

Source Files

Directories

Path Synopsis