plugins

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DbDown

func DbDown(driveName string, db *sql.DB) error

func DbUp

func DbUp(driveName string, db *sql.DB) error

func Doctor added in v0.0.3

func Doctor() error

func Parse

func Parse(blockHeader types.BlockHeader, itx qbasetxs.ITx) (name string, err error)

func RegisterGin

func RegisterGin(r *gin.Engine)

Types

type Pluginer

type Pluginer interface {
	DbInit(driveName string, db *sql.DB) error
	DbClear(driveName string, db *sql.DB) error

	Parse(blockHeader types.BlockHeader, itx qbasetxs.ITx) (typeName string, hit bool, err error)
	Type() string

	Doctor() error

	RegisterGin(r *gin.Engine)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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