Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Courier ¶
type Courier interface {
StartChat(context.Context, *models.Channel, models.ChatID) error
CreateMsg(context.Context, *models.Channel, *models.Contact, string) error
ReportDelivered(context.Context, *models.Channel, *models.Contact, models.MsgID) error
}
Courier is the interface for interacting with a courier instance or a mock
func NewCourier ¶
NewCourier creates a new courier instance using the provided configuration
Click to show internal directories.
Click to hide internal directories.