Documentation ¶ Index ¶ type Engine func NewEngine(driver string, source string) (e *Engine, err error) func (e *Engine) Close() func (e *Engine) NewSession() *session.Session func (e *Engine) Transaction(f TxFunc) (result interface{}, err error) type TxFunc 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) Source Files ¶ View all Source files engine.go Click to show internal directories. Click to hide internal directories.