pghelper

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrHelperAlreadyInited = errors.New("proxy already inited yet")

ErrHelperAlreadyInited 代理已经初始化错误

View Source
var ErrHelperNotInited = errors.New("proxy not inited yet")

ErrHelperNotInited 代理未初始化错误

View Source
var ErrURLSchemaWrong = errors.New("URL schema wrong")

ErrURLSchemaWrong 分布式锁已经设置

View Source
var Helper = New()

Helper 默认的pg代理对象

Functions

func New

func New() *dbHelper

New 创建一个新的数据库客户端代理

Types

This section is empty.

Jump to

Keyboard shortcuts

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