util

package
v1.0.303 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BigIPAddressToDecimal

func BigIPAddressToDecimal(ip net.IP) int32

func Clamp

func Clamp(val int, lower int, upper int) int

Make sure val is in between lower and upper

func ConvertHighChars

func ConvertHighChars(in string) string

Change consolechars back to normal text

func ConvertLowChars

func ConvertLowChars(in string) string

Change normal text to console chars

func Deduplicate

func Deduplicate(in []string) []string

Remove any duplipcates

func FileExists

func FileExists(f string) bool

func LittleIPAddressToDecmial

func LittleIPAddressToDecmial(ip net.IP) int32

func SplitLines

func SplitLines(str string) []string

func Vector4Compare8

func Vector4Compare8(v1 [4]uint8, v2 [4]uint8) bool

func VectorCompare

func VectorCompare(v1 [3]int16, v2 [3]int16) bool

func VectorCompare8

func VectorCompare8(v1 [3]int8, v2 [3]int8) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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