| 18 | const replicationHeader = "X-Replication-Request" |
| 19 | |
| 20 | type CacheServer struct { |
| 21 | cache *Cache |
| 22 | peers []string |
| 23 | hashRing *HashRing |
| 24 | mu sync.Mutex |
| 25 | } |
| 26 | |
| 27 | func NewCacheServer(peers []string) *CacheServer { |
| 28 | cs := &CacheServer{ |
nothing calls this directly
no outgoing calls
no test coverage detected