dbmanager

package
v0.0.0-...-4f62844 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2023 License: MulanPSL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DbEngine *xorm.Engine
View Source
var (
	KeyCfg_SyncChainLogsBlock = "synclogsblock"
)

Functions

func FunGetChainLogsBlock

func FunGetChainLogsBlock() (int64, error)

func FunSetChainLogsBlock

func FunSetChainLogsBlock(block int64) error

func GetGlobalConfig

func GetGlobalConfig(key string) (*entity.Config, error)

func InitTestdb

func InitTestdb()

func SetGlobalConfig

func SetGlobalConfig(key string, value string) error

func SetMysqlConn

func SetMysqlConn(conn string, showsql bool) *xorm.Engine

func Syncs

func Syncs(beans ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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