Documentation ¶
Index ¶
- func CheckSqlMockExpectationsMet(sqlMock sqlmock.Sqlmock, t *testing.T)
- func MakeMessagePerChunk(chunks []string, consensusTimestampStr, topicId string) []message.Message
- func NewMessage(consensusTimestamp, topicId, content string, ...) message.Message
- func SetupNetworks()
- func SetupSqlMock() (dbConnection *gorm.DB, sqlMock sqlmock.Sqlmock, db *sql.DB)
- func SqlMockPrepareExec(sqlMock sqlmock.Sqlmock, query string, queryArgs ...driver.Value)
- func SqlMockPrepareExecWithErr(sqlMock sqlmock.Sqlmock, query string, queryArgs ...driver.Value) error
- func SqlMockPrepareQuery(sqlMock sqlmock.Sqlmock, columns []string, rowArgs []driver.Value, ...)
- func SqlMockPrepareQueryWithErrInvalidData(sqlMock sqlmock.Sqlmock, query string, queryArgs ...driver.Value) error
- func SqlMockPrepareQueryWithErrNotFound(sqlMock sqlmock.Sqlmock, query string, queryArgs ...driver.Value) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeMessagePerChunk ¶
func NewMessage ¶
func SetupNetworks ¶
func SetupNetworks()
func SetupSqlMock ¶
func SqlMockPrepareExec ¶
func SqlMockPrepareQuery ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.