Documentation ¶
Index ¶
Constants ¶
View Source
const ( ClusterMaster = "master" ClusterSlave = "slave" )
Variables ¶
This section is empty.
Functions ¶
func NewConnected ¶
NewConnected mysql cluster client
func NewGORMLogger ¶
func NewGORMLogger(config GormConfig, log *loggers.Logger, slowLog *loggers.Logger) gormLogger.Interface
Types ¶
type GormConfig ¶
Click to show internal directories.
Click to hide internal directories.