config

package
v0.0.0-...-d084c58 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: GPL-3.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 ConfigT

type ConfigT struct {
	DBConnection DBConnectionT
	DBMigration  DBMigrationT
}

type DBConnectionT

type DBConnectionT struct {
	DSN      string `mapstructure:"dsn"`
	Driver   string `mapstructure:"driver"`
	CertFile string `mapstructure:"cert-file"`
	SSLCert  string `mapstructure:"ssl-cert"`
	SSLKey   string `mapstructure:"ssl-key"`
}

type DBMigrationT

type DBMigrationT struct {
	Dir          string `mapstructure:"dir"`
	Table        string `mapstructure:"table"`
	Verbose      bool   `mapstructure:"verbose"`
	Sequential   bool   `mapstructure:"sequential"`
	AllowMissing bool   `mapstructure:"allow-missing"`
	NoVersioning bool   `mapstructure:"no-versioning"`
}

Jump to

Keyboard shortcuts

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