talk

package module
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

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 deprecated

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 deprecated

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL