| 41 | ) |
| 42 | |
| 43 | type forwardCacheClient struct { |
| 44 | namespace string |
| 45 | context string |
| 46 | init sync.Once |
| 47 | client cache.CacheClient |
| 48 | compression cache.RedisCompressionType |
| 49 | err error |
| 50 | redisHaProxyName string |
| 51 | redisName string |
| 52 | redisPassword string |
| 53 | } |
| 54 | |
| 55 | func (c *forwardCacheClient) doLazy(action func(client cache.CacheClient) error) error { |
| 56 | c.init.Do(func() { |
nothing calls this directly
no outgoing calls
no test coverage detected