Documentation
¶
Overview ¶
Package chat provides real-time chats linked to any topics for end users.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DAO ¶
type DAO interface {
dao.DAO
PutRoom(room *chat.ChatRoom) (*chat.ChatRoom, error)
DeleteRoom(room *chat.ChatRoom) (bool, error)
ListRooms(request *chat.ListRoomsRequest) ([]*chat.ChatRoom, error)
RoomByUuid(byType chat.RoomType, roomUUID string) (*chat.ChatRoom, error)
ListMessages(request *chat.ListMessagesRequest) ([]*chat.ChatMessage, error)
PostMessage(request *chat.ChatMessage) (*chat.ChatMessage, error)
DeleteMessage(message *chat.ChatMessage) error
}
Click to show internal directories.
Click to hide internal directories.