config

package
Version: v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2016 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	S3Bucket       string
	S3Region       string
	S3AccessKey    string
	S3SecretKey    string
	Hostname       string
	BackupInterval time.Duration
	TmpDir         string
}

Config is a struct to hold the backup configuration

func ParseConfig

func ParseConfig() Config

ParseConfig parses the config and returns it

Source Files

Jump to

Keyboard shortcuts

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