Versions in this module Expand all Collapse all v0 v0.6.0 Jan 17, 2024 Changes in this version + type Backend interface + Cleanup func() error + Close func() error + Pop func(key string) (Data, bool, error) + Set func(key string, value Data) error + func NewBackend(backendUrl string, ttl, timeout time.Duration) (Backend, error) + type Data struct + ID string + RaisedTimeNanos int64 + RaisedTimeSeconds int64 + func (d Data) Time() time.Time + func (d Data) ToBytes() ([]byte, error)