haproxy

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2026 License: Apache-2.0 Imports: 19 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package haproxy writes the HAProxy configuration of a gateway, for HAProxy 3.2 and 3.4: it builds a view of the gateway, every value from the proxyfile in it already quoted, and executes the embedded template with it. Beside it goes the script the configuration loads, proxyfile.lua (script.go).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(in generator.Input) ([]generator.File, error)

Generate returns the HAProxy configuration and the script it loads, proxyfile.lua. Its error is a generator.Refused that names each value written into a regular expression or a program longer than HAProxy loads, by its key, a problem in the input (values); any other error means the gateway holds a form this generator does not write (notWritten), which HAProxy's declaration refuses before render calls Generate, a pattern that does not compile, which the reader refuses first, or that the template did not fill: a bug in proxyfile each time.

Types

This section is empty.

Jump to

Keyboard shortcuts

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