repository

package
v0.0.0-...-9cb16bd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MessageRepository

type MessageRepository interface {
	// Commands
	Create(message *values.MessageDBValue) *errorhandler.Response

	// Queries
	Query(query *dto.QueryMessagesReqDTO) ([]*values.MessageValue, *errorhandler.Response)
}

type RoomRepository

type RoomRepository interface {
	// Commands
	Create(room *values.RoomDBValue) *errorhandler.Response
	Update(room *values.RoomDBValue) *errorhandler.Response

	// Queries
	QueryRooms(req *dto.QueryRoomsReqDTO) ([]*values.RoomValue, *errorhandler.Response)
	GetRoomByID(id string) (*values.RoomValue, *errorhandler.Response)
}

Directories

Path Synopsis
Package mockchatrepository is a generated GoMock package.
Package mockchatrepository is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL