Skip to main content

get_log_targets

Function get_log_targets 

Source
pub async fn get_log_targets() -> Result<Vec<String>, ServerFnError>
Expand description

日志 target 去重列表(前端筛选项)。

走 moka 缓存(60s TTL):DISTINCT 全表扫在日志表上不值得每开页面跑一次。

§Handler information

  • Method: post
  • Path: <auto>