engine

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Engine

type Engine struct {
	// contains filtered or unexported fields
}

func NewEngine

func NewEngine(driver string, source string) (e *Engine, err error)

func (*Engine) Close

func (e *Engine) Close()

func (*Engine) NewSession

func (e *Engine) NewSession() *session.Session

func (*Engine) Transaction

func (e *Engine) Transaction(f TxFunc) (result interface{}, err error)

type TxFunc

type TxFunc func(*session.Session) (interface{}, error)

Jump to

Keyboard shortcuts

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