lang

package
v0.0.0-...-2bff06c Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetIdxToInt

func GetIdxToInt(idx string) int

func GetMaxNumber

func GetMaxNumber(arr []int) int

func GetNodeName

func GetNodeName(clusterName string, role string, idx int) string

get node name

func GetRandomString

func GetRandomString(n int) string

Random string generation

func GetStoreClusterKey

func GetStoreClusterKey(namespace string, clusterName string) string

get store cluster key

func GetStoreNodeKey

func GetStoreNodeKey(namespace string, clusterName string, nodeName string) string

get store node key

func GetUid

func GetUid() string

get uuid

func NVL

func NVL(str string, def string) string

NVL is null value logic

Types

This section is empty.

Jump to

Keyboard shortcuts

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