hadead-0.1.1 doesn't have any documentation.
๐ Had
Redis Rate Limiter with Crypto Wallets as the Unique Identifier.
Make sure that you've filled up the env vars inside
.envfile, also make sure you've installed the wallexerr crate usingcargo add wallexerr.
๐ Run
๐ฆ Publish
๐งช Test
init_from_env; /* is required to see info!() and error!() logs */
let redis_password = "REDIS_PASSWORD".to_string;
let redis_username = "REDIS_USERNAME".to_string;
let redis_host = "REDIS_HOST".to_string;
let redis_port = "REDIS_PORT".to_string;
let chill_zone_duration_in_seconds = 5;
let had_instance = Config;
let id = had_instance.id.as_ref.unwrap;
info!;
had_instance.check.await