config

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2017 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TimeFormatParse = "2006-01-02T15:04:05 MST"
)

Variables

View Source
var (
	ErrOnlyPrintAndExit = errors.New("")
)

Functions

This section is empty.

Types

type Config

type Config struct {
	Session      *session.Session
	LogPrefix    string
	AccountID    string
	S3Prefix     string
	S3Bucket     string
	Region       string
	IsUTC        bool
	ForceMode    bool
	PreserveGzip bool
	MaxKeyCount  int64
	StartTime    time.Time
	EndTime      time.Time
	IsELB        bool

	Debug  bool
	Stdout bool
	// contains filtered or unexported fields
}

func LoadConfig

func LoadConfig() (*Config, error)

Jump to

Keyboard shortcuts

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