Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDbConfigs ¶
func GetDbConfigs() map[string]Connection
Types ¶
type Connection ¶
type Connection struct {
Driver string
Dsn string
Log bool
LogLevel int
LogFile string
Timezone string
}
func GetDbConfig ¶
func GetDbConfig(id string) Connection
type Connections ¶
type Connections struct {
Connections map[string]Connection
}
Click to show internal directories.
Click to hide internal directories.