Versions in this module Expand all Collapse all v1 v1.0.1 Feb 17, 2022 v1.0.0 Feb 16, 2022 Changes in this version + type Cache struct + func NewCache(size int) *Cache + func (c *Cache) Get(key string) interface{} + func (c *Cache) Set(key string, value interface{}) + type Hash func(data []byte) uint32 + type Ring struct + func NewRing() *Ring + func (r *Ring) Add(node string) + func (r *Ring) Get(key string) (node string) + func (r *Ring) Remove(node string)