Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfigPath ¶
func GetConfigPath() string
func InitConfig ¶
func InitConfig()
Types ¶
type Config ¶
type Config struct { // AWS AwsAccessKey string `json:"aws_access_key"` AwsSecretKey string `json:"aws_secret_key"` // S3 S3Bucket string `json:"s3_bucket"` S3RotateOld bool `json:"s3_rotate_old"` // PostgreSQL PostgresUsername string `json:"pg_username"` PostgresPassword string `json:"pg_password"` PostgresSSL bool `json:"pg_sslmode"` PostgresExcludeDb []string `json:"pg_exclude_dbs"` PostgresExcludeTable []string `json:"pg_exclude_tables"` }
func LoadConfig ¶
func LoadConfig() *Config
func (*Config) ShouldExcludeDb ¶
func (*Config) ShouldExcludeTable ¶
Click to show internal directories.
Click to hide internal directories.