Skip to content

📦 sdk/zhudun

创宇盾数据源适配包。

类型

类型说明
Client创宇盾客户端
Credential凭证
QueryCompanyResponse公司查询响应

方法

方法说明
NewClient(creds)构造
QueryCompany(ctx, name)公司→域名
QueryDomain(ctx, domain)域名→公司
Quota(ctx)查配额

降级

配额耗尽返回 ErrQuotaExhausted,由上层决定是否降级。见 🛡️ 创宇盾

📚 延伸阅读

Released under the MIT License.