Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageCommandHandler ¶
type MessageCommandHandler interface {
CreateMessage(*dto.CreateMessageReqDTO) (*values.MessageValue, *errorhandler.Response)
}
func NewMessageCommandHandler ¶
func NewMessageCommandHandler(ctx context.AppContext, messageCommandServices services.MessageCommandDomainServices) MessageCommandHandler
type MessageQueryHandler ¶
type MessageQueryHandler interface {
QueryMessages(*dto.QueryMessagesReqDTO) ([]*values.MessageValue, *errorhandler.Response)
}
func NewMessageQueryHandler ¶
func NewMessageQueryHandler(ctx context.AppContext, messageQueryServices services.MessageQueryDomainServices) MessageQueryHandler
type RoomCommandHandler ¶
type RoomCommandHandler interface { CreateRoom(*dto.CreateRoomReqDTO) (*values.RoomValue, *errorhandler.Response) JoinRoom(*dto.JoinRoomReqDTO) (*values.RoomValue, *errorhandler.Response) LeaveRoom(*dto.LeaveRoomReqDTO) (*values.RoomValue, *errorhandler.Response) SendRoomEvent(*dto.SendRoomEventReqDTO) *errorhandler.Response }
func NewRoomCommandHandler ¶
func NewRoomCommandHandler(ctx context.AppContext, roomCommandServices services.RoomCommandDomainServices) RoomCommandHandler
type RoomQueryHandler ¶
type RoomQueryHandler interface {
QueryRooms(*dto.QueryRoomsReqDTO) ([]*values.RoomValue, *errorhandler.Response)
}
func NewRoomQueryHandler ¶
func NewRoomQueryHandler(ctx context.AppContext, roomQueryServices services.RoomQueryDomainServices) RoomQueryHandler
Source Files ¶
Click to show internal directories.
Click to hide internal directories.