/work_with_redis

Using Redis in a Simple Rust web service

Primary LanguageRustGNU General Public License v3.0GPL-3.0

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