rdbmodel

package
v0.0.0-...-556d222 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrNotImpl ...
	ErrNotImpl = errors.New("function no completed implmentation")
	// ErrNilDBConf ...
	ErrNilDBConf = errors.New("nil db config bing input")
	// ErrInitSQLxTX ...
	ErrInitSQLxTX = errors.New("init sqlx.tx driver get error")
	// ErrDBTXnotInit ...
	ErrDBTXnotInit = errors.New("sqlx.tx driver has not been inited yet")
	// ErrTXRollback ...
	ErrTXRolllback = errors.New("sqlx.tx rollback failed")
	// ErrTXCommit ..
	ErrTXCommit = errors.New("sqlx.tx commit get error")
)

Functions

This section is empty.

Types

type Connect

type Connect struct {
	Driver   string `json:"driver"`
	Network  string `json:"network"`
	Host     string `json:"host"`
	Port     string `json:"port"`
	User     string `json:"user"`
	Password string `json:"password"`
	DBName   string `json:"database_name"`
}

Jump to

Keyboard shortcuts

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