config

package
Version: v0.0.0-...-54f90a5 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2015 License: GPL-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package config implements access for config file.

Index

Constants

This section is empty.

Variables

View Source
var Jobnet jobnet
View Source
var Log logSection
View Source
var Server serverSection

Functions

func Load

func Load(path string) error

Load loads config file from path, and returns config object as singleton.

Caution: this function is not thread safe.

Types

type Config

type Config struct {
	Server serverSection
	Log    logSection
	Jobnet jobnet
}

Config holds all config parameter.

Source Files

Jump to

Keyboard shortcuts

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