Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MesageRepository ¶
type MesageRepository struct {
// contains filtered or unexported fields
}
func NewMessageRepository ¶
func NewMessageRepository(db *sqlx.DB) *MesageRepository
func (*MesageRepository) Create ¶
func (mr *MesageRepository) Create(roomId string, content string) error
func (*MesageRepository) GetAllById ¶
func (mr *MesageRepository) GetAllById(roomId string) ([]Message, error)
Click to show internal directories.
Click to hide internal directories.