cmd

package
v1.8.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2025 License: LGPL-3.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DbSettings added in v1.7.5

type DbSettings struct {
	Reverse *reverse.ReverseConfig `hcl:"reverse,block" json:"reverse,omitempty"`
	Repeats []dialect.RepeatConfig `hcl:"repeat,block" json:"repeat"`
	Conns   []dialect.ConnConfig   `hcl:"conn,block" json:"conn"`
}

DbSettings 数据库、缓存相关配置

func GetDbSettings added in v1.7.5

func GetDbSettings(root *config.RootConfig) (*DbSettings, error)

GetDbSettings 读取默认配置文件

func (*DbSettings) GetConns added in v1.8.4

func (s *DbSettings) GetConns() []dialect.ConnConfig

GetConns 读取默认配置文件

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL