config

package
v0.0.0-...-3b3f045 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2015 License: Apache-2.0 Imports: 0 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	MessageBusServers []MessageBusServer `yaml:"message_bus_servers"`
	ExternalHost      string             `yaml:"external_host"`
	ExternalIp        string             `yaml:"external_ip"`
	Port              int                `yaml:"port"`
	HealthChecker     *HealthCheckerConf `yaml:"health_checker"`
}

type HealthCheckerConf

type HealthCheckerConf struct {
	Name              string  `yaml:"name"`
	Interval          float64 `yaml:"interval_in_seconds"`
	HealthcheckScript string  `yaml:"healthcheck_script_path"`
}

type MessageBusServer

type MessageBusServer struct {
	Host     string `yaml:"host"`
	User     string `yaml:"user"`
	Password string `yaml:"password"`
}

Jump to

Keyboard shortcuts

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