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 []schema.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(_ schema.SetupInterface)
Setup setting config conntections params
Click to show internal directories.
Click to hide internal directories.