config

package
Version: v0.0.0-...-e34364e Latest Latest
Warning

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

Go to latest
Published: May 7, 2014 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadConfig

func ReadConfig() error

ReadConfig() reads the config yaml file and set global config variables.

Types

type Config

type Config struct {
	ComPort                string `yaml:"comPort,omitempty"`
	DBpediaEndpoint        string `yaml:"dbpediaEndpoint,omitempty"`
	DBpediaEndpointTimeout int    `yaml:"dbpediaEndpointTimeout,omitempty"`
}

The Config represents a configuration for the application.

var CONFIG *Config = new(Config)

CONFIG is the global configuration.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL