src/client/client.go
func (c *cachedLoader) Get(key string) ([]byte, error) {
	c.cacheLock.RLock()
	defer c.cacheLock.RUnlock()

	compiledKey := c.namespace + divider + key
	if ret, ok := c.cache[compiledKey]; ok {
		return ret, nil
	}
	return nil, fmt.Errorf("Could not find value for key: %s", compiledKey)
}
func (c *cachedLoader) Get(key string) ([]byte, error) {
	c.cacheLock.RLock()
	defer c.cacheLock.RUnlock()

	compiledKey := c.namespace + divider + key
	if ret, ok := c.cache[compiledKey]; ok {
		return ret, nil
	}
	return nil, fmt.Errorf("Could not find value for key: %s", compiledKey)
}
func ( c * cachedLoader ) Get ( key string ) ( [ ] byte , error ) { c . cacheLock . RLock ( ) defer c . cacheLock . RUnlock ( ) compiledKey := c . namespace + divider + key if ret , ok := c . cache [ compiledKey ] ; ok { return ret , nil } return nil , fmt . Errorf ( " " , compiledKey ) }
// Get fetches the raw config from cache
Get fetches the raw config from cache