Documentation ¶
Index ¶
- func Contains(array []string, val string) bool
- func Expect(t *testing.T, got, want interface{})
- func GenNodeName() string
- func GenerateUUID4() string
- func GetIP() string
- func GetOutBoundIP() (ip string, err error)
- func GetPrivateIP() (string, error)
- func GetPublicIP() (string, error)
- func InArray(val interface{}, array interface{}) bool
- func InSliceString(sl []string, st string) bool
- func JoinStrBase(sep string, elems []string) string
- func JoinStrings(elems ...string) string
- func PathExists(path string) bool
- func TopicMatch(filter, topic string, handleSharedSubscription bool) bool
- func Unset(a []string, i int) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenNodeName ¶
func GenNodeName() string
func GetOutBoundIP ¶
func GetPrivateIP ¶
func GetPublicIP ¶
func InSliceString ¶
InSliceString returns true if a string exists in a slice of strings. This temporary and should be replaced with a function from the new go slices package in 1.19 when available. https://github.com/golang/go/issues/45955
func JoinStrBase ¶
func JoinStrings ¶
func PathExists ¶
PathExists returns true if the given path exists.
func TopicMatch ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.