Skip to content

Latest commit

 

History

History
20 lines (18 loc) · 1.27 KB

README.md

File metadata and controls

20 lines (18 loc) · 1.27 KB

Examples

  • Basic - Basic client usage.
  • TLS - Setting up a client that uses TLS.
  • Globals - Read and modify global variables to tune the performance of the clients.
  • Publish-Subscribe - Use multiple clients together with the pubsub interface in a way that survives network interruptions.
  • Blocking - Use multiple clients with the blocking list interface.
  • Transactions - Use the MULTI/EXEC interface on a client.
  • Lua - Use the Lua scripting interface on a client.
  • Scan - Use the SCAN interface to scan and read keys.
  • Prometheus - Use the metrics interface with prometheus.
  • Pool - Use a redis connection pool.
  • Resilience - Configure the client to work under bad network conditions or against unreliable servers.
  • Monitor - Process a MONITOR stream.
  • Sentinel - Connect using a sentinel deployment.
  • Serde - Use the serde-json feature to convert values and responses to JSON automatically.
  • Custom - Send custom commands or operate on RESP protocol frames directly.

Or check out the tests for more examples.