config

package
v5.5.2-2+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2017 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultConfig = Config{
	Period:          10 * time.Second,
	DBType:          "",
	Hostname:        "127.0.0.1",
	Username:        "sqlbeat_user",
	Password:        "sqlbeat_pass",
	Database:        "",
	PostgresSSLMode: "disable",
	DeltaWildcard:   "__DELTA",
}

Functions

This section is empty.

Types

type Config

type Config struct {
	Period            time.Duration `config:"period"`
	DBType            string        `config:"dbtype"`
	Hostname          string        `config:"hostname"`
	Port              string        `config:"port"`
	Username          string        `config:"username"`
	Password          string        `config:"password"`
	EncryptedPassword string        `config:"encryptedpassword"`
	Database          string        `config:"database"`
	PostgresSSLMode   string        `config:"postgressslmode"`
	Queries           []string      `config:"queries"`
	QueryTypes        []string      `config:"querytypes"`
	DeltaWildcard     string        `config:"deltawildcard"`
}

Jump to

Keyboard shortcuts

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