global

package
v0.0.0-...-623c56b Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfig

func LoadConfig(config string, rootfolder string) error

func SetupInjection

func SetupInjection(objects ...*inject.Object) error

Types

type ConfigStruct

type ConfigStruct struct {
	StatsDServerIP string    `json:"stats_d_server_url"`
	SysLogIP       string    `json:"syslog_url"`
	RootFolder     string    `json:"root_folder"`
	Data           DataStore `json:"data_store"`
	Queue          Queue     `json:"queue"`
	RetryIntervals []string  `json:"retry_intervals"`
}
var Config ConfigStruct

type DataStore

type DataStore struct {
	ConnectionString string `json:"connection_string"`
	DataBaseName     string `json:"database_name"`
}

type Queue

type Queue struct {
	ConnectionString string `json:"connection_string"`
	EventQueue       string `json:"event_queue"`
}

Jump to

Keyboard shortcuts

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