doubles

package
v0.163.1 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StubOnePhaseCommitProtocol

type StubOnePhaseCommitProtocol struct {
	comproto.OnePhaseCommitProtocol
	BeginTxFunc    func(ctx context.Context) (context.Context, error)
	CommitTxFunc   func(ctx context.Context) error
	RollbackTxFunc func(ctx context.Context) error
}

func (*StubOnePhaseCommitProtocol) BeginTx

func (*StubOnePhaseCommitProtocol) CommitTx

func (spy *StubOnePhaseCommitProtocol) CommitTx(ctx context.Context) error

func (*StubOnePhaseCommitProtocol) RollbackTx

func (spy *StubOnePhaseCommitProtocol) RollbackTx(ctx context.Context) error

Jump to

Keyboard shortcuts

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