Documentation
¶
Overview ¶
Foliage primary statefun system package. Provides shared system functions for statefun packages
Index ¶
- func BytesToInt64(v []byte) int64
- func CreateDimSizeChannel[T interface{}](maxBufferElements int, onBufferOverflow func()) (in chan T, out chan T)
- func GetCurrentTimeNs() int64
- func GetEnv[T interface{}](key string, defaultVal T) (value T, err error)
- func GetEnvMustProceed[T interface{}](key string, defaultVal T) T
- func GetHashStr(str string) string
- func GetUniqueStrID() string
- func Int64ToBytes(v int64) []byte
- func MergeMaps[T interface{}](m1 map[string]T, m2 map[string]T) map[string]T
- func MsgOnErrorReturn(retVars ...interface{})
- func Str2Int(s string) int64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesToInt64 ¶
func CreateDimSizeChannel ¶
func CreateDimSizeChannel[T interface{}](maxBufferElements int, onBufferOverflow func()) (in chan T, out chan T)
func GetCurrentTimeNs ¶
func GetCurrentTimeNs() int64
func GetEnvMustProceed ¶
func GetEnvMustProceed[T interface{}](key string, defaultVal T) T
func GetHashStr ¶
func GetUniqueStrID ¶
func GetUniqueStrID() string
func Int64ToBytes ¶
func MsgOnErrorReturn ¶
func MsgOnErrorReturn(retVars ...interface{})
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.