(key string, index int)
| 64 | } |
| 65 | |
| 66 | func (c *clientCacheImpl) GetClientForKey(key string, index int) (any, error) { |
| 67 | clientKey, err := c.Lookup(key, index) |
| 68 | if err != nil { |
| 69 | return nil, err |
| 70 | } |
| 71 | return c.GetClientForClientKey(clientKey) |
| 72 | } |
| 73 | |
| 74 | func (c *clientCacheImpl) GetClientForClientKey(clientKey string) (any, error) { |
| 75 | c.cacheLock.RLock() |
nothing calls this directly
no test coverage detected