Documentation ¶
Index ¶
- func Int64FromBytes(bz []byte) int64
- func Int64ToBytes(id int64) []byte
- func IsValidUID(uid string) bool
- func NewPubKeyMemory(bs []byte) []byte
- func RemoveDuplicateStrs(strSlice []string) (list []string)
- func RemoveStr(s []string, r string) []string
- func StrBytes(p string) []byte
- func Uint64FromBytes(bz []byte) uint64
- func Uint64ToBytes(id uint64) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Int64FromBytes ¶
Int64FromBytes converts some fixed length bytes back into a int64.
func Int64ToBytes ¶
Int64ToBytes converts a int64 into fixed length bytes for use in store keys.
func IsValidUID ¶
IsValidUID validates if a uid is in correct format
func NewPubKeyMemory ¶
func RemoveDuplicateStrs ¶
RemoveDuplicateStrs returns input array without duplicates
func Uint64FromBytes ¶
Uint64FromBytes converts some fixed length bytes back into a uint64.
func Uint64ToBytes ¶
Uint64ToBytes converts a uint64 into fixed length bytes for use in store keys.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.