plugin

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

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) DB added in v0.1.3

func (c *Constructor) DB(config *pangu.Config) (db *config.DB, err error)

func (*Constructor) New added in v0.1.0

func (c *Constructor) New(config *config.DB, logger log.Logger) (engine *db.Engine, err error)

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

type Wrapper

type Wrapper struct {
	// 关系型数据库配置
	Db *config.DB `json:"db" yaml:"db" xml:"db" toml:"db" validate:"required"`
}

Jump to

Keyboard shortcuts

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