package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Oct 4, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func AddInstance(instanceName string)
func AddServerToSlb(serverId string, port int)
func GetSlbPacketRate() int
type Datapoint struct {
Timestamp int `json:"timestamp"`
UserId string `json:"userId"`
InstanceId string `json:"instanceId"`
Vip string `json:"vip"`
Maximum float64 `json:"Maximum"`
Minimum float64 `json:"Minimum"`
Average float64 `json:"Average"`
Sum float64 `json:"Sum"`
}
type Dimension struct {
InstanceId string `json:"instanceId"`
}
type Server struct {
ServerId string `json:"ServerId"`
Port int `json:"Port"`
Weight int `json:"Weight"`
Type string `json:"Type"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.