rostermodel

package
v0.53.0 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// None represents 'none' subscription type.
	None = "none"

	// From represents 'from' subscription type.
	From = "from"

	// To represents 'to' subscription type.
	To = "to"

	// Both represents 'both' subscription type.
	Both = "both"

	// Remove represents 'remove' subscription type.
	Remove = "remove"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Item

type Item struct {
	Username     string
	JID          string
	Name         string
	Subscription string
	Ask          bool
	Groups       []string
}

Item represents a roster item entity.

type Notification

type Notification struct {
	Contact  string
	JID      string
	Presence *stravaganza.Presence
}

Notification represents a roster subscription pending notification.

Jump to

Keyboard shortcuts

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