Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetElemOrDefaultFromMap ¶
GetElemOrDefaultFromMap returns the value of a key from a map, or a default value if the key does not exist or the value is not of the expected type.
func GetIntValFromString ¶
GetIntValFromString returns an int value if the string is not empty and is a correct integer OR default value.
func GetIntValOrDefault ¶
GetIntValOrDefault returns an int value if greater than 0 OR default value.
func GetRandOrDefaultString ¶
GetRandOrDefaultString is used when we need to generate a random string, but don't want to fail if the entropy pool is empty (e.g. in tests) One example usage is for validating the aws connection on dapr initialisation
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.