tools

package
v0.0.0-...-03f4900 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculationArrMax

func CalculationArrMax(arrint []int) (max int)

func CalculationGroup

func CalculationGroup(slist []int, topomstats codisapi.TopomStats) int

func CalculationProxy

func CalculationProxy(slist []int, topomstats codisapi.TopomStats) int

func CapacityGroup

func CapacityGroup(gn int, topom codisapi.Topom) bool

func CapacityProxy

func CapacityProxy(pn int, topom codisapi.Topom) bool

func CheckInListInt

func CheckInListInt(val int, slist []int) bool

func CheckInListString

func CheckInListString(val string, slist []string) bool

func CheckIpPort

func CheckIpPort(addr string, timeout int) bool

func CheckStringInArray

func CheckStringInArray(target string, str_array []string) bool

func DeleteListString

func DeleteListString(val string, slist []string) []string

func DeleteListint

func DeleteListint(val int, slist []int) []int

func IsIP

func IsIP(ip string) bool

func JsonToMap

func JsonToMap(jsonstr string) map[string]interface{}

func NewXAuth

func NewXAuth(segs ...string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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