Documentation ¶
Index ¶
- Variables
- type RuntimeOption
- func AllowDelayedStart(allowDelayedStartMax, allowDelayedStartTick time.Duration) RuntimeOption
- func MapsDir(mapsDir string) RuntimeOption
- func MasterSocket(masterSocketPath string, nbproc int) RuntimeOption
- func Socket(socket string) RuntimeOption
- func SocketDefault() RuntimeOption
- func Sockets(socketList map[int]string) RuntimeOption
- type RuntimeOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var DoNotCheckRuntimeOnInit = doNotCheckRuntimeOnInit{} //nolint:gochecknoglobals
Functions ¶
This section is empty.
Types ¶
type RuntimeOption ¶
type RuntimeOption interface {
Set(p *RuntimeOptions) error
}
func AllowDelayedStart ¶ added in v5.1.4
func AllowDelayedStart(allowDelayedStartMax, allowDelayedStartTick time.Duration) RuntimeOption
func MapsDir ¶
func MapsDir(mapsDir string) RuntimeOption
func MasterSocket ¶
func MasterSocket(masterSocketPath string, nbproc int) RuntimeOption
func Socket ¶
func Socket(socket string) RuntimeOption
func SocketDefault ¶
func SocketDefault() RuntimeOption
SocketDefault uses /var/run/haproxy.sock as socket path
func Sockets ¶
func Sockets(socketList map[int]string) RuntimeOption
Click to show internal directories.
Click to hide internal directories.