Have you considered adding support for setting TTL values on keys? Would be nice to have this. Maybe via something like:
func (s *Store) InsertTTL(key, data interface{}, ttl time.Duration) {...}
func (s *Store) UpdateTTL(key, data interface{}, ttl time.Duration) {...}
func (s *Store) UpsertTTL(key, data interface{}, ttl time.Duration) {...}
Have you considered adding support for setting TTL values on keys? Would be nice to have this. Maybe via something like:
Ref: https://github.com/dgraph-io/badger#setting-time-to-livettl-and-user-metadata-on-keys