Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Pool []Item `yaml:"sqlite"`
}
Config pool of configs
func (*Config) List ¶
func (c *Config) List() (list []sqlcommon.ItemInterface)
List getting all configs
type ConfigSqlite ¶
type ConfigSqlite struct { Pool []Item `yaml:"sqlite"` Migrate []orm.ConfigMigrateItem `yaml:"sqlite_migrate"` }
ConfigSqlite sqlite config model
func (*ConfigSqlite) Default ¶
func (v *ConfigSqlite) Default()
func (*ConfigSqlite) List ¶
func (v *ConfigSqlite) List() (list []sqlcommon.ItemInterface)
List getting all configs
type Item ¶
type Item struct { Name string `yaml:"name"` File string `yaml:"file"` Cache string `yaml:"cache"` Mode string `yaml:"mode"` Journal string `yaml:"journal"` LockingMode string `yaml:"locking_mode"` OtherParams string `yaml:"other_params"` }
Item config model
func (Item) Setup ¶
func (i Item) Setup(_ sqlcommon.SetupInterface)
Setup setting config conntections params
Click to show internal directories.
Click to hide internal directories.