def redis_get(v): with RedisCtl(v) as redis_ctl: return common_get(redis_ctl[0])
def memcache_conn_default(v): with MemcachedCtl(v) as memcache_ctl: return common_get(memcache_ctl)
def pymemcache_conn_by_hashclient(v): with PymemcacheCtl(v) as pymemcache_ctl: if pymemcache_ctl[1]: return common_get(pymemcache_ctl[1]) else: return "pymemcache-{v} has not attr HashClient".format(v=v)
def pymemcache_conn_by_client(v): with PymemcacheCtl(v) as pymemcache_ctl: return common_get(pymemcache_ctl[0])
def pymemcache_get(v): with PymemcacheCtl(v) as pymemcache_ctl: return common_get(pymemcache_ctl[0])
def bmemcached_conn_default(v): with BmemcachedCtl(v) as bmemcached_ctl: return common_get(bmemcached_ctl)