Documentation ¶
Index ¶
Constants ¶
View Source
const ( Master = iota Slave = iota )
Define connection types
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Addr ¶
Addr contains information required to db to DB
func GetInfoForTest ¶
GetInfoForTest return address of local MySQL used by tests
type GetInfoFunc ¶
GetInfoFunc is a type to implement db address resolver polymorhism
var GetInfo GetInfoFunc // No default resolver
GetInfo is database address resolving function
Click to show internal directories.
Click to hide internal directories.