config

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

* * Generated by go-doudou v2.1.6. * You can edit it as your need.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Source struct {
		Addr              string
		User              string
		Pass              string
		IncludeTableRegex []string
		ExcludeTableRegex []string
		Migrate           bool
		Databases         []string
		Dump              bool
		Sync              bool
		Handler           string
		DumpBatchSize     int
		TargetDbSuffix    string
	}
	config.Config
}
var G_Config *Config

func LoadFromEnv

func LoadFromEnv() *Config

Jump to

Keyboard shortcuts

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