Documentation

Overview

Package event contains events that may be emited by the client.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChatMessage

type ChatMessage struct {
	stanza.Message

	Body string `xml:"body,omitempty"`
}

ChatMessage is sent when messages of type "chat" or "normal" are received or sent.

type CloseChat

type CloseChat roster.Item

CloseChat is sent when the chat view is closed.

type OpenChat

type OpenChat roster.Item

OpenChat is sent when a roster item is selected.

type StatusAway

type StatusAway struct{}

StatusAway is sent when the user should change their status to away.

type StatusBusy

type StatusBusy struct{}

StatusBusy is sent when the user should change their status to busy.

type StatusOffline

type StatusOffline struct{}

StatusOffline is sent when the user should go offline.

type StatusOnline

type StatusOnline struct{}

StatusOnline is sent when the user should come online.

type UpdateRoster

type UpdateRoster roster.Item

UpdateRoster is sent when a roster item should be updated (eg. after a roster fetch or a roster push).

Source Files