Skip to main content

for_attribution

Function for_attribution 

Source
pub fn for_attribution(attr: UserAttribution) -> &'static [(&'static str, u16)]
Expand description

UserAttribution 选对应的 Platform IP 池。

UserAttribution 当前只能构造六个已知归属地。未来 domain 增加新归属地而 backend 尚未同步连接池时,按 C++ UserAttrConfig 的 unknown-attr 路径 fail closed,返回空池,不能误路由到 CN。