Documentation
¶
Overview ¶
Package xep0184 implements XEP-0184: Message Delivery Receipts.
Index ¶
- Constants
- type Receipts
- func (m *Receipts) AccountFeatures(_ context.Context) ([]string, error)
- func (m *Receipts) Name() string
- func (m *Receipts) ServerFeatures(_ context.Context) ([]string, error)
- func (m *Receipts) Start(_ context.Context) error
- func (m *Receipts) Stop(_ context.Context) error
- func (m *Receipts) StreamFeature(_ context.Context, _ string) (stravaganza.Element, error)
Constants ¶
View Source
const ( // ModuleName represents Message Delivery Receipts module name. ModuleName = "receipts" // XEPNumber represents Message Delivery Receipts XEP number. XEPNumber = "0184" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Receipts ¶
type Receipts struct {
// contains filtered or unexported fields
}
Receipts represents a Message Delivery Receipts (XEP-0184) module type.
func (*Receipts) AccountFeatures ¶
AccountFeatures returns Message Delivery Receipts account disco features.
func (*Receipts) ServerFeatures ¶
ServerFeatures returns Message Delivery Receipts server disco features.
func (*Receipts) StreamFeature ¶
StreamFeature returns Message Delivery Receipts stream feature.
Click to show internal directories.
Click to hide internal directories.