lvs

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

author: foolbread file: lvs/lvs.go date: 2018/6/27

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LVSInfo

type LVSInfo struct {
	Vip VIPInfo
	Rs  []*RSInfo
}

func GetAllLvsInfo

func GetAllLvsInfo() ([]*LVSInfo, error)

type RSInfo

type RSInfo struct {
	IP         string
	Port       string
	Weight     int
	ActiveConn int
	InActConn  int
}

type VIPInfo

type VIPInfo struct {
	Proto    string
	IP       string
	Port     string
	Strategy string
}

Jump to

Keyboard shortcuts

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