package
0.0.0-20240930171141-9aa8a032909e
Repository: https://github.com/nqxcode/chat_microservice.git
Documentation: pkg.go.dev

# Functions

NewChatRepositoryMock returns a mock for repository.ChatRepository.
NewChatToUserRepositoryMock returns a mock for repository.ChatToUserRepository.
NewMessageRepositoryMock returns a mock for repository.MessageRepository.

# Structs

ChatRepositoryMock implements repository.ChatRepository.
ChatRepositoryMockCreateExpectation specifies expectation struct of the ChatRepository.Create.
ChatRepositoryMockCreateParams contains parameters of the ChatRepository.Create.
ChatRepositoryMockCreateResults contains results of the ChatRepository.Create.
ChatRepositoryMockDeleteExpectation specifies expectation struct of the ChatRepository.Delete.
ChatRepositoryMockDeleteParams contains parameters of the ChatRepository.Delete.
ChatRepositoryMockDeleteResults contains results of the ChatRepository.Delete.
ChatRepositoryMockGetExpectation specifies expectation struct of the ChatRepository.Get.
ChatRepositoryMockGetParams contains parameters of the ChatRepository.Get.
ChatRepositoryMockGetResults contains results of the ChatRepository.Get.
ChatToUserRepositoryMock implements repository.ChatToUserRepository.
ChatToUserRepositoryMockCreateExpectation specifies expectation struct of the ChatToUserRepository.Create.
ChatToUserRepositoryMockCreateParams contains parameters of the ChatToUserRepository.Create.
ChatToUserRepositoryMockCreateResults contains results of the ChatToUserRepository.Create.
ChatToUserRepositoryMockDeleteByChatIDExpectation specifies expectation struct of the ChatToUserRepository.DeleteByChatID.
ChatToUserRepositoryMockDeleteByChatIDParams contains parameters of the ChatToUserRepository.DeleteByChatID.
ChatToUserRepositoryMockDeleteByChatIDResults contains results of the ChatToUserRepository.DeleteByChatID.
ChatToUserRepositoryMockGetExpectation specifies expectation struct of the ChatToUserRepository.Get.
ChatToUserRepositoryMockGetParams contains parameters of the ChatToUserRepository.Get.
ChatToUserRepositoryMockGetResults contains results of the ChatToUserRepository.Get.
MessageRepositoryMock implements repository.MessageRepository.
MessageRepositoryMockCreateExpectation specifies expectation struct of the MessageRepository.Create.
MessageRepositoryMockCreateParams contains parameters of the MessageRepository.Create.
MessageRepositoryMockCreateResults contains results of the MessageRepository.Create.
MessageRepositoryMockDeleteByChatIDExpectation specifies expectation struct of the MessageRepository.DeleteByChatID.
MessageRepositoryMockDeleteByChatIDParams contains parameters of the MessageRepository.DeleteByChatID.
MessageRepositoryMockDeleteByChatIDResults contains results of the MessageRepository.DeleteByChatID.
MessageRepositoryMockGetExpectation specifies expectation struct of the MessageRepository.Get.
MessageRepositoryMockGetParams contains parameters of the MessageRepository.Get.
MessageRepositoryMockGetResults contains results of the MessageRepository.Get.