Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chirpstack/chirpstack
/ redis_key
Function
redis_key
chirpstack/src/storage/mod.rs:232–235 ·
view source on GitHub ↗
(s: String)
Source
from the content-addressed store, hash-verified
230
}
231
232
pub fn redis_key(s: String) -> String {
233
let prefix = REDIS_PREFIX.read().unwrap();
234
format!(
"{}{}"
, prefix, s)
235
}
236
237
#[cfg(test)]
238
pub async fn reset_db() -> Result<()> {
Callers
15
save
Function · 0.85
get
Function · 0.85
delete
Function · 0.85
get_session_ids_for_dev_addr
Function · 0.85
get_session_ids_for_dev_eui
Function · 0.85
get_key
Function · 0.85
save_state
Function · 0.85
get_state
Function · 0.85
get_rx_info
Function · 0.85
get_rx_info_for_dev_euis
Function · 0.85
save
Function · 0.85
get_and_del
Function · 0.85
Calls
1
unwrap
Method · 0.80
Tested by
3
uplink_meta_log
Function · 0.68
device_uplink_frame_log
Function · 0.68
test_log_request
Function · 0.68