transaction

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Transaction

type Transaction struct {
	freedom.Infra
	// contains filtered or unexported fields
}

Transaction .

func (*Transaction) BeginRequest

func (t *Transaction) BeginRequest(rt freedom.Runtime)

BeginRequest

func (*Transaction) Execute

func (t *Transaction) Execute(fun func() error, selectDBName ...string) (e error)

Execute Execute local transaction.

type XA

type XA struct {
	freedom.Infra
}

Transaction .

Jump to

Keyboard shortcuts

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