truntime

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	STATS_PORT = 31024
)

Variables

This section is empty.

Functions

func GetServers added in v0.9.0

func GetServers(socketPath string, backend string) ([]string, error)

Types

type GlobalHAProxyInfo

type GlobalHAProxyInfo struct {
	Pid     string
	Maxconn string
	Uptime  string
}

func GetGlobalHAProxyInfo

func GetGlobalHAProxyInfo(socketPath string) (info GlobalHAProxyInfo, err error)

type Runtime added in v0.9.0

type Runtime struct {
	SocketPath string
}

func NewRuntime added in v0.9.0

func NewRuntime(socketPath string) Runtime

func (*Runtime) GetHAProxyMapCount added in v0.9.0

func (*Runtime) GetHAProxyMapCount(socketPath string, mapName string) (count int, err error)

Jump to

Keyboard shortcuts

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