conf

package
v0.8.16 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2014 License: BSD-2-Clause Imports: 6 Imported by: 8 modules, 57 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package conf parses start up args and config file

Index

Constants

This section is empty.

Variables

View Source
var (
	Conf = map[string]string{}

	// Reload
	RELOAD = ""

	// Config File
	CONFIG_FILE = ""

	// Node Indices
	NODE_IDXS map[string]idxOpts = nil

	// Default Chunksize for size virtual index
	CHUNK_SIZE int64 = 1048576
)

Functions

func Bool

func Bool(s string) bool

Bool is a convenience wrapper around strconv.ParseBool

func Initialize

func Initialize()

Initialize is an explicit init. Enables outside use of shock-server packages. Parses config and populates the Conf variable.

func Print

func Print()

Print prints the configuration loads to stdout

Types

This section is empty.

Jump to

Keyboard shortcuts

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