env

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Version of dagtools.
	Version = "1.7.0-dev"
)

Functions

This section is empty.

Types

type Environment

type Environment struct {
	Version     string
	Verbose     bool
	Debug       bool
	Concurrency int
	Config      *ini.Config
	Logger      *log.Logger
	// contains filtered or unexported fields
}

Environment defines parameters for dagtools

func (*Environment) Close

func (e *Environment) Close()

Close do cleanup Environment

func (*Environment) GetElapsedTimeMs

func (e *Environment) GetElapsedTimeMs() int64

GetElapsedTimeMs returns elapsed time (milli seconds)

func (*Environment) Init

func (e *Environment) Init() (err error)

Init do initializing Environment

func (*Environment) String

func (e *Environment) String() string

Jump to

Keyboard shortcuts

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