config

package
v0.0.0-...-7491e2d Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MysqlConfig

type MysqlConfig struct {
	Charset string `mapstructure:"charset" json:"charset" yaml:"charset"`
	Collate string `mapstructure:"collate" json:"collate" yaml:"collate"`
}

type ORMDBConfig

type ORMDBConfig struct {
	DbType           string         `mapstructure:"dbtype" json:"dbtype" yaml:"dbtype"`
	Username         string         `mapstructure:"username" json:"username" yaml:"username"`
	Password         string         `mapstructure:"password" json:"password" yaml:"password"`
	Host             string         `mapstructure:"host" json:"host" yaml:"host"`
	Port             int            `mapstructure:"port" json:"port" yaml:"port"`
	RedoLogPath      string         `mapstructure:"redoLogPath" json:"redoLogPath" yaml:"redoLogPath"`
	UserCacheSizeMBs int            `mapstructure:"userCacheSizeMBs" json:"userCacheSizeMBs" yaml:"userCacheSizeMBs"`
	Sqlite3Config    *Sqlite3Config `mapstructure:"sqlite3Config" json:"sqlite3Config" yaml:"sqlite3Config"`
	MysqlConfig      *MysqlConfig   `mapstructure:"mysqlConfig" json:"mysqlConfig" yaml:"mysqlConfig"`
}

ORMDBConfig

type Sqlite3Config

type Sqlite3Config struct {
	Path string `mapstructure:"path" json:"path" yaml:"path"`
}

Sqlite3Config

Jump to

Keyboard shortcuts

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