Documentation ¶
Index ¶
- func ByteToInt32(b []byte) int32
- func ByteToInt64(b []byte) int64
- func ByteToUInt32(b []byte) uint32
- func ByteToUInt64(b []byte) uint64
- func DbDir() string
- func Encode(d interface{}) []byte
- func GetFilenameWithoutExtension(filename string) string
- func GetTestKey(i int) []byte
- func HasTimestampExpired(timestamp int64) bool
- func Int32ToByte(n int32) []byte
- func Int64ToByte(n int64) []byte
- func JoinPaths(pathA, pathB string) string
- func RandomValue(n int) []byte
- func ReadFile(path string) ([]byte, error)
- func Recover()
- func StringToInt(s []byte) (int, error)
- func TimeUntilUnixNano(tstamp int64) time.Duration
- func UInt32ToByte(n uint32) []byte
- func UInt64ToByte(n uint64) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ByteToInt32 ¶
func ByteToInt64 ¶
func ByteToUInt32 ¶ added in v0.1.1
func ByteToUInt64 ¶ added in v0.1.1
func GetTestKey ¶
func HasTimestampExpired ¶
func Int32ToByte ¶
func Int64ToByte ¶
func RandomValue ¶
func StringToInt ¶
func TimeUntilUnixNano ¶
func UInt32ToByte ¶ added in v0.1.1
func UInt64ToByte ¶ added in v0.1.1
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.