Documentation
¶
Index ¶
- func CalculateRedisStreamMinID(retentionTimeInMs int64) (string, error)
- func FileExists(filepath string) bool
- func GetTimestampFromStreamMessageID(id string) (int64, error)
- func HashString(s string) string
- func IsValidTimeUnitString(value string) bool
- func ParseInt64(s string) int64
- func ParseTimeUnitString(value string) (int, error)
- func SerializeStreamMessageValues(values map[string]interface{}) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateRedisStreamMinID ¶
Calculates the minimum ID for a Redis stream
func GetTimestampFromStreamMessageID ¶
Get the timestamp from a Redis stream message ID
func HashString ¶
func IsValidTimeUnitString ¶
func ParseInt64 ¶
func ParseTimeUnitString ¶
Parses a time unit string into a duration in seconds
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.