Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type MySQL ¶
type MySQL struct {
Dialect string
User string `yaml:"user"`
Password string `yaml:"password"`
Net string `yaml:"net"`
Host string `yaml:"host"`
Port int `yaml:"port"`
DBName string `yaml:"dbname"`
TLSConfig string `yaml:"tls"`
AllowNativePasswords bool `yaml:"native_password"`
ParseTime bool `yaml:"parse_time"`
CasbinLoadIntervalSec *int64 `yaml:"casbin_load_interval_sec"`
}
func (*MySQL) ToDriverConfig ¶
Click to show internal directories.
Click to hide internal directories.