Documentation ¶
Index ¶
- Constants
- func Compress(src []byte) []byte
- func ExpireAtToTTLms(expireat int64) (int64, bool)
- func IsExpired(expireat int64) bool
- func Nowms() int64
- func Num64(i interface{}) interface{}
- func ParseInt(i interface{}) (int64, error)
- func TTLmsToExpireAt(ttlms int64) (int64, bool)
- func TTLsToExpireAt(ttls int64) (int64, bool)
- func Uncompress(src []byte) ([]byte, error)
- type MarkSet
Constants ¶
View Source
const (
MaxExpireAt = 1e15
)
Variables ¶
This section is empty.
Functions ¶
func ExpireAtToTTLms ¶
func TTLmsToExpireAt ¶
func TTLsToExpireAt ¶
func Uncompress ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.