Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Default *sql.DB
View Source
var System *sql.DB
Functions ¶
func DomainSystemExists ¶ added in v0.1.2
func IdentitySystem ¶ added in v0.1.2
Types ¶
type Config ¶
type Config struct {
Type string `yaml:"type"` // master, postgres, mysql, sqlite
User string `yaml:"user"`
Password string `yaml:"password"`
Name string `yaml:"name"`
Host string `yaml:"host"`
Port int `yaml:"port"`
SSLMode string `yaml:"ssl"`
Timezone string `yaml:"timezone"`
Timeout int `yaml:"timeout"`
MaxOpen int `yaml:"max_open"`
MaxIdle int `yaml:"max_idle"`
Lifetime int `yaml:"lifetime"`
MaxLimit int `yaml:"max_limit"`
}
Click to show internal directories.
Click to hide internal directories.