package
0.0.0-20240326143516-ede886b9f4af
Repository: https://github.com/ybgr111/chat-server.git
Documentation: pkg.go.dev

# Functions

NewChatServiceMock returns a mock for service.ChatService.
NewFakeTxMock returns a mock for service.FakeTx.

# Structs

ChatServiceMock implements service.ChatService.
ChatServiceMockCreateExpectation specifies expectation struct of the ChatService.Create.
ChatServiceMockCreateParams contains parameters of the ChatService.Create.
ChatServiceMockCreateResults contains results of the ChatService.Create.
ChatServiceMockDeleteExpectation specifies expectation struct of the ChatService.Delete.
ChatServiceMockDeleteParams contains parameters of the ChatService.Delete.
ChatServiceMockDeleteResults contains results of the ChatService.Delete.
ChatServiceMockSendMessageExpectation specifies expectation struct of the ChatService.SendMessage.
ChatServiceMockSendMessageParams contains parameters of the ChatService.SendMessage.
ChatServiceMockSendMessageResults contains results of the ChatService.SendMessage.
FakeTxMock implements service.FakeTx.
FakeTxMockBeginExpectation specifies expectation struct of the FakeTx.Begin.
FakeTxMockBeginFuncExpectation specifies expectation struct of the FakeTx.BeginFunc.
FakeTxMockBeginFuncParams contains parameters of the FakeTx.BeginFunc.
FakeTxMockBeginFuncResults contains results of the FakeTx.BeginFunc.
FakeTxMockBeginParams contains parameters of the FakeTx.Begin.
FakeTxMockBeginResults contains results of the FakeTx.Begin.
FakeTxMockCommitExpectation specifies expectation struct of the FakeTx.Commit.
FakeTxMockCommitParams contains parameters of the FakeTx.Commit.
FakeTxMockCommitResults contains results of the FakeTx.Commit.
FakeTxMockConnExpectation specifies expectation struct of the FakeTx.Conn.
FakeTxMockConnResults contains results of the FakeTx.Conn.
FakeTxMockCopyFromExpectation specifies expectation struct of the FakeTx.CopyFrom.
FakeTxMockCopyFromParams contains parameters of the FakeTx.CopyFrom.
FakeTxMockCopyFromResults contains results of the FakeTx.CopyFrom.
FakeTxMockExecExpectation specifies expectation struct of the FakeTx.Exec.
FakeTxMockExecParams contains parameters of the FakeTx.Exec.
FakeTxMockExecResults contains results of the FakeTx.Exec.
FakeTxMockLargeObjectsExpectation specifies expectation struct of the FakeTx.LargeObjects.
FakeTxMockLargeObjectsResults contains results of the FakeTx.LargeObjects.
FakeTxMockPrepareExpectation specifies expectation struct of the FakeTx.Prepare.
FakeTxMockPrepareParams contains parameters of the FakeTx.Prepare.
FakeTxMockPrepareResults contains results of the FakeTx.Prepare.
FakeTxMockQueryExpectation specifies expectation struct of the FakeTx.Query.
FakeTxMockQueryFuncExpectation specifies expectation struct of the FakeTx.QueryFunc.
FakeTxMockQueryFuncParams contains parameters of the FakeTx.QueryFunc.
FakeTxMockQueryFuncResults contains results of the FakeTx.QueryFunc.
FakeTxMockQueryParams contains parameters of the FakeTx.Query.
FakeTxMockQueryResults contains results of the FakeTx.Query.
FakeTxMockQueryRowExpectation specifies expectation struct of the FakeTx.QueryRow.
FakeTxMockQueryRowParams contains parameters of the FakeTx.QueryRow.
FakeTxMockQueryRowResults contains results of the FakeTx.QueryRow.
FakeTxMockRollbackExpectation specifies expectation struct of the FakeTx.Rollback.
FakeTxMockRollbackParams contains parameters of the FakeTx.Rollback.
FakeTxMockRollbackResults contains results of the FakeTx.Rollback.
FakeTxMockSendBatchExpectation specifies expectation struct of the FakeTx.SendBatch.
FakeTxMockSendBatchParams contains parameters of the FakeTx.SendBatch.
FakeTxMockSendBatchResults contains results of the FakeTx.SendBatch.