haproxy

package
v0.0.0-...-29dce44 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2017 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Runner holds the global command executor used for this package
	Runner command.Runner = command.ExecRunner
)

Functions

func GenerateConfig

func GenerateConfig(service *services.Service, backendPort int) (string, error)

GenerateConfig builds a haproxy config from a template for the specified backend port and services

func StartHAProxy

func StartHAProxy(configFilename string) error

StartHAProxy starts or reloads haproxy

Types

This section is empty.

Jump to

Keyboard shortcuts

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