Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageCommandDomainServices ¶
type MessageCommandDomainServices interface {
CreateMessage(*dto.CreateMessageReqDTO) (*values.MessageValue, *errorhandler.Response)
}
func NewMessageCommandDomainServices ¶
func NewMessageCommandDomainServices(ctx context.AppContext, messageRepository repository.MessageRepository, roomQueryDomainServices RoomQueryDomainServices, roomCoomroomCommandDomainServices RoomCommandDomainServices) MessageCommandDomainServices
type MessageQueryDomainServices ¶
type MessageQueryDomainServices interface {
QueryMessages(*dto.QueryMessagesReqDTO) ([]*values.MessageValue, *errorhandler.Response)
}
func NewMessageQueryDomainServices ¶
func NewMessageQueryDomainServices(ctx context.AppContext, messageRepository repository.MessageRepository, roomQueryDomainServices RoomQueryDomainServices) MessageQueryDomainServices
type RoomCommandDomainServices ¶
type RoomCommandDomainServices interface { CreateRoom(*dto.CreateRoomReqDTO) (*values.RoomValue, *errorhandler.Response) UpdateLastMessage(string, *values.MessageValue) *errorhandler.Response JoinRoom(*dto.JoinRoomReqDTO) (*values.RoomValue, *errorhandler.Response) LeaveRoom(*dto.LeaveRoomReqDTO) (*values.RoomValue, *errorhandler.Response) SendRoomEvent(*dto.SendRoomEventReqDTO) *errorhandler.Response }
func NewRoomCommandDomainServices ¶
func NewRoomCommandDomainServices(ctx context.AppContext, roomRepository repository.RoomRepository) RoomCommandDomainServices
type RoomQueryDomainServices ¶
type RoomQueryDomainServices interface { QueryRooms(*dto.QueryRoomsReqDTO) ([]*values.RoomValue, *errorhandler.Response) GetRoomByID(string) (*values.RoomValue, *errorhandler.Response) }
func NewRoomQueryDomainServices ¶
func NewRoomQueryDomainServices(ctx context.AppContext, roomRepository repository.RoomRepository) RoomQueryDomainServices
Source Files ¶
Click to show internal directories.
Click to hide internal directories.