mocks

package
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 2, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tx

type Tx struct {
	mock.Mock
}

Tx is an autogenerated mock type for the Tx type

func (*Tx) Commit

func (_m *Tx) Commit() error

Commit provides a mock function with given fields:

func (*Tx) Rollback

func (_m *Tx) Rollback() error

Rollback provides a mock function with given fields:

type TxOpener

type TxOpener struct {
	mock.Mock
}

TxOpener is an autogenerated mock type for the TxOpener type

func (*TxOpener) OpenTx

func (_m *TxOpener) OpenTx(ctx context.Context) (context.Context, driver.Tx, error)

OpenTx provides a mock function with given fields: ctx

Jump to

Keyboard shortcuts

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