config

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2021 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
const ProductVersion = "1.4.0"

ProductVersion is the current version of ECAL

View Source
const (
	WorkerCount = "WorkerCount"
)

Known configuration options for ECAL

Variables

View Source
var Config map[string]interface{}

Config is the actual config which is used

View Source
var DefaultConfig = map[string]interface{}{
	WorkerCount: 1,
}

DefaultConfig is the defaut configuration

Functions

func Bool

func Bool(key string) bool

Bool reads a config value as a boolean value.

func Int

func Int(key string) int

Int reads a config value as an int value.

func Str

func Str(key string) string

Str reads a config value as a string value.

Types

This section is empty.

Jump to

Keyboard shortcuts

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