Documentation ¶
Index ¶
- type Constructor
- func (c *Constructor) DB(config *pangu.Config) (db *config.DB, err error)
- func (c *Constructor) New(config *config.DB, logger log.Logger) (engine *db.Engine, err error)
- func (c *Constructor) NewSynchronizer(engine *db.Engine, config *config.DB, logger log.Logger) *db.Synchronizer
- func (c *Constructor) NewTransaction(engine *db.Engine, logger log.Logger) *db.Transaction
- type Wrapper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Constructor ¶ added in v0.1.0
type Constructor struct { }
func (*Constructor) NewSynchronizer ¶ added in v0.1.2
func (c *Constructor) NewSynchronizer(engine *db.Engine, config *config.DB, logger log.Logger) *db.Synchronizer
func (*Constructor) NewTransaction ¶ added in v0.1.0
func (c *Constructor) NewTransaction(engine *db.Engine, logger log.Logger) *db.Transaction
Click to show internal directories.
Click to hide internal directories.