Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConnection ¶
func NewConnection() (transaction.Connection, error)
Types ¶
type Connection ¶
type Connection struct {
// contains filtered or unexported fields
}
func (Connection) BeginRoTransaction ¶
func (t Connection) BeginRoTransaction(ctx context.Context, f func(ctx context.Context, tx transaction.Transaction) error, opts ...transaction.Option) error
func (Connection) BeginRwTransaction ¶
func (t Connection) BeginRwTransaction(ctx context.Context, f func(ctx context.Context, tx transaction.Transaction) error, opts ...transaction.Option) error
func (Connection) Close ¶
func (t Connection) Close() error
Click to show internal directories.
Click to hide internal directories.