//
pkg.gl
Category
github.com/qinchende/gofast
store
sqlx
package
0.4.4
Repository:
https://github.com/qinchende/gofast.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
18
Dependents
1
Files
1k SLOC
#
Functions
CloseSqlRows
No description provided by the author
ScanRow
No description provided by the author
ScanRows
No description provided by the author
#
Constants
CacheMem
默认0:用本地内存缓存,无法实现分布式一致性。但支持存取对象,性能好.
CacheRedis
1:强大的redis缓存,支持分布式。需要序列化和反序列化,开销比内存型大.
#
Structs
DBAttrs
No description provided by the author
OrmDB
天然支持读写分离,只需要数据库连接配置文件,分别传入读写库的连接地址.
PetCache
No description provided by the author
PetResult
No description provided by the author
SelectPet
功能强大的控制参数,这个对象比较大,可以考虑用sync.Pool缓存.
StmtConn
No description provided by the author
#
Type aliases
PC
No description provided by the author
SP
No description provided by the author