services

package
v0.0.0-...-cc1490b Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2020 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NextcloudTalk

type NextcloudTalk struct {
	nextcloudTalk.UnimplementedNextcloudTalkServer
	// contains filtered or unexported fields
}

NextcloudTalk is a Nextcloud Talk client.

func NewNextcloudTalk

func NewNextcloudTalk(chatRequestChan chan bool, chatResponseChan chan chan clients.Chat, statusChan chan string, writeChat func(token, message string) error) *NextcloudTalk

NewNextcloudTalk creates a new Nextcloud Talk Client.

func (*NextcloudTalk) ReadChats

ReadChats reads the chats.

func (*NextcloudTalk) WriteChat

func (n *NextcloudTalk) WriteChat(ctx context.Context, req *nextcloudTalk.InChat) (*empty.Empty, error)

WriteChat writes a chat.

Jump to

Keyboard shortcuts

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