filepart

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2022 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConvert

func NewConvert(paraTitle, symbol string, supports []string) db.ExecConvert

NewConvert 2注册插件需要的插件创建函数

Types

type Convert

type Convert struct {
	ConfigDB proofconfig.PrivilegeDB
	// contains filtered or unexported fields
}

Convert tx convert

func (*Convert) ConvertTx

func (c *Convert) ConvertTx(env *db.TxEnv, op int) ([]db.Record, error)

ConvertTx 展开数据 (插件满足接口 db.ExecConvert)

func (*Convert) InitDB

func (c *Convert) InitDB(cli db.DBCreator) error

InitDB 创建db (插件满足接口 db.ExecConvert)

func (*Convert) SetDB

func (c *Convert) SetDB(db db.WrapDB) error

SetDB SetDB (非必要: 插件需要访问数据库时需要实现, 一般使用于虚拟插件数据展开在es上包含执行逻辑)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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