services

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: 11 Imported by: 0

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 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

Directories

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

Jump to

Keyboard shortcuts

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