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 ¶
func (n *NextcloudTalk) ReadChats(req *empty.Empty, srv nextcloudTalk.NextcloudTalk_ReadChatsServer) error
ReadChats reads the chats.
func (*NextcloudTalk) WriteChat ¶
func (n *NextcloudTalk) WriteChat(ctx context.Context, req *nextcloudTalk.InChat) (*empty.Empty, error)
WriteChat writes a chat.
Click to show internal directories.
Click to hide internal directories.