添加对 PyPI 的支持,包括配置示例、缓存策略和集成测试

This commit is contained in:
2025-11-14 13:11:02 +08:00
parent 39ebf61572
commit 9444531e3b
7 changed files with 340 additions and 28 deletions

View File

@@ -144,6 +144,8 @@ func ensureRouterHubType(route *HubRoute) error {
return nil
case "go":
return nil
case "pypi":
return nil
default:
return fmt.Errorf("unsupported hub type: %s", route.Config.Type)
}