config

package
v0.0.0-...-da1daef Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2015 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	SerialPort         string `json:"serial_port"`
	SerialBaud         int    `json:"serial_baud"`
	DomoticzHost       string `json:"domoticz_host"`
	DomoticzPort       int    `json:"domoticz_port"`
	DomoticzHardwareId string `json:"domoticz_hardware_id"`
	LogLevel           string `json:"log_level"`
	LogFile            string `json:"log_file"`
	DatabasePath       string `json:"database_path"`
	WebServerPort      int    `json:"web_server_port"`
	WebAppPath         string `json:"web_app_path"`
	Rf12demoLogFile    string `json:"rf12demo_log_file"`
}

Jeego configuration

func Load

func Load() (*Config, error)

Load config from conf file

Jump to

Keyboard shortcuts

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