Skip to content
This repository has been archived by the owner. It is now read-only.

Latest commit

 

History

History
27 lines (20 loc) · 399 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 399 Bytes

work_with_redis

Using Redis in a Simple Rust web service

Usage:

add to block list: curl -d "hell.com" -X POST 127.0.0.1:1337/block

remove from block list: curl -d "hell.com" -X POST 127.0.0.1:1337/release

check block list: curl -d "hell.com" -X POST 127.0.0.1:1337/check

TODOs:

  • add more test
  • edit names
  • remove unwrap and add logger
  • connection pool