daqing/moonway/cache does not have a README file
pub(all) enum Decoded { Complete(RespValue, Int) Incomplete Malformed(String)} derive(Eq, @moonbitlang/core/debug.DebugDebug)
fn Decoded::equal(Decoded, Decoded) -> Bool
fn Decoded::not_equal(x : Decoded, y : Decoded) -> Bool
fn Decoded::to_repr(Decoded) -> @moonbitlang/core/debug.ReprRepr
pub struct RedisClient { conn : @moonbitlang/async/socket.TcpTcp buffer : Bytes}
impl CacheStore for RedisClient
async fn cache_get(self : RedisClient, key : String) -> String?
async fn cache_set_ex(self : RedisClient, key : String, value : String, ttl : Int) -> Bool
fn RedisClient::close(self : RedisClient) -> Unit
async fn RedisClient::command(self : RedisClient, args : Array[String]) -> RespValue
async fn RedisClient::connect(addr : String) -> RedisClient
async fn RedisClient::del(self : RedisClient, key : String) -> Int
async fn RedisClient::expire(self : RedisClient, key : String, ttl_seconds : Int) -> Bool
async fn RedisClient::get(self : RedisClient, key : String) -> String?
async fn RedisClient::ping(self : RedisClient) -> Bool
async fn RedisClient::set(self : RedisClient, key : String, value : String) -> Bool
async fn RedisClient::set_ex(self : RedisClient, key : String, value : String, ttl_seconds : Int) -> Bool
pub(all) enum RespValue { Simple(String) Error(String) Integer(Int64) Bulk(String?) Array(Array[RespValue])} derive(Eq, @moonbitlang/core/debug.DebugDebug)
fn RespValue::equal(RespValue, RespValue) -> Bool
fn RespValue::not_equal(x : RespValue, y : RespValue) -> Bool
fn RespValue::to_repr(RespValue) -> @moonbitlang/core/debug.ReprRepr
fn decode(buf : Bytes) -> Decoded
fn encode_command(args : Array[String]) -> Bytes
Install
A full-stack web framework for MoonBit
No dependents
Powered by MoonBit
© 2026 mooncakes.io