Versions in this module Expand all Collapse all v0 v0.1.0 Nov 3, 2020 Changes in this version + type Cache interface + Delete func(key KeyInfo) + Insert func(key KeyInfo, rec Record) + Lookup func(key KeyInfo) (Record, bool) + type KeyInfo struct + Expires int64 + Key string + type LogInfo struct + Id int64 + Time int64 + type Record struct + Expires int64 + Value []byte + type ReplItem struct + Action int8 + Key KeyInfo + Value Record + func NewReplItem(action int8, key KeyInfo, value Record) *ReplItem + type ReplLog struct + Data []ReplItem + Info LogInfo + type Replication interface + Add func(item ReplItem) + type Scheduler interface + Add func(key KeyInfo) + GetChan func() *chan KeyInfo