Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) OnDisconnect ¶
type Service ¶
type Service interface {
Store() models.Store
StartChat(context.Context, *models.Channel, models.ChatID) (*models.Contact, bool, error)
CreateMsgIn(context.Context, *models.Channel, *models.Contact, string) error
ConfirmDelivery(context.Context, *models.Channel, *models.Contact, queue.ItemID) error
CloseChat(context.Context, *models.Channel, *models.Contact) error
QueueMsgOut(context.Context, *models.Channel, *models.Contact, *models.MsgOut) error
}
Click to show internal directories.
Click to hide internal directories.