Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMessageRepository ¶
func NewMessageRepository(db *sql.DB) message.Repository
Types ¶
type MessageRepository ¶
type MessageRepository struct {
// contains filtered or unexported fields
}
func (*MessageRepository) List ¶
func (r *MessageRepository) List(chatId int64) ([]*model.Message, error)
func (*MessageRepository) UpdateStatus ¶
func (r *MessageRepository) UpdateStatus(chatId int64, userId int64) error
Click to show internal directories.
Click to hide internal directories.