config

package
v0.0.0-...-5c9080e Latest Latest
Warning

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

Go to latest
Published: May 4, 2017 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

type Storage struct {
	Verbose    bool
	Debug      bool
	StorageDir string
	IndexDir   string
	Server     struct {
		Host string
		Port int
	}
}
var Store Storage = Storage{}

Configuration in-memory storage, holds all the configuration information parsed from configfiles and flags

func (*Storage) Load

func (s *Storage) Load(configFile string)

Loads the Config Store

func (*Storage) LoadConfig

func (s *Storage) LoadConfig(configName string)

Load the config Store from a file

Jump to

Keyboard shortcuts

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