Help us shape the future of Go! Take the 2026 Go Developer Survey

truntime

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 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