package
0.0.0-20240710181630-7d9bfcd0c6de
Repository: https://github.com/andreimartynenko/chat-server.git
Documentation: pkg.go.dev

# Functions

NewChatRepositoryMock returns a mock for repository.ChatRepository.
NewLogRepositoryMock returns a mock for repository.LogRepository.
NewMessagesRepositoryMock returns a mock for repository.MessagesRepository.

# 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.
ChatRepositoryMockGetChatsExpectation specifies expectation struct of the ChatRepository.GetChats.
ChatRepositoryMockGetChatsParams contains parameters of the ChatRepository.GetChats.
ChatRepositoryMockGetChatsResults contains results of the ChatRepository.GetChats.
LogRepositoryMock implements repository.LogRepository.
LogRepositoryMockLogExpectation specifies expectation struct of the LogRepository.Log.
LogRepositoryMockLogParams contains parameters of the LogRepository.Log.
LogRepositoryMockLogResults contains results of the LogRepository.Log.
MessagesRepositoryMock implements repository.MessagesRepository.
MessagesRepositoryMockCreateExpectation specifies expectation struct of the MessagesRepository.Create.
MessagesRepositoryMockCreateParams contains parameters of the MessagesRepository.Create.
MessagesRepositoryMockCreateResults contains results of the MessagesRepository.Create.
MessagesRepositoryMockDeleteChatExpectation specifies expectation struct of the MessagesRepository.DeleteChat.
MessagesRepositoryMockDeleteChatParams contains parameters of the MessagesRepository.DeleteChat.
MessagesRepositoryMockDeleteChatResults contains results of the MessagesRepository.DeleteChat.
MessagesRepositoryMockGetMessagesExpectation specifies expectation struct of the MessagesRepository.GetMessages.
MessagesRepositoryMockGetMessagesParams contains parameters of the MessagesRepository.GetMessages.
MessagesRepositoryMockGetMessagesResults contains results of the MessagesRepository.GetMessages.