MCPcopy Create free account
hub / github.com/alibaba/PhotonLibOS / demo_cpp_redis

Function demo_cpp_redis

examples/integration/redis.cpp:115–120  ·  view source on GitHub ↗

this function demostrates how to integrate photon with cpp_redis

Source from the content-addressed store, hash-verified

113
114// this function demostrates how to integrate photon with cpp_redis
115void demo_cpp_redis() {
116 auto tcp_client = photon::integration::new_tcp_client_redis();
117 cpp_redis::client client(tcp_client);
118 cpp_redis(client);
119 delete tcp_client;
120}
121
122// this function demostrates how to integrate photon with redis_cpp
123void demo_redis_cpp() {

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected