{"id":44346601,"url":"https://github.com/fnoopv/csb","last_synced_at":"2026-02-11T14:06:22.073Z","repository":{"id":62865584,"uuid":"557673294","full_name":"fnoopv/csb","owner":"fnoopv","description":"阿里专有云csb sdk","archived":false,"fork":false,"pushed_at":"2025-05-22T07:54:43.000Z","size":42,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-22T09:04:23.014Z","etag":null,"topics":["aliyun","csb","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fnoopv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-10-26T04:51:07.000Z","updated_at":"2025-05-22T07:53:17.000Z","dependencies_parsed_at":"2024-06-20T07:04:51.877Z","dependency_job_id":"84232f94-385f-4009-8069-00e14c5142cb","html_url":"https://github.com/fnoopv/csb","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/fnoopv/csb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fnoopv%2Fcsb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fnoopv%2Fcsb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fnoopv%2Fcsb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fnoopv%2Fcsb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fnoopv","download_url":"https://codeload.github.com/fnoopv/csb/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fnoopv%2Fcsb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29334027,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T12:42:24.625Z","status":"ssl_error","status_checked_at":"2026-02-11T12:41:23.344Z","response_time":97,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aliyun","csb","golang"],"created_at":"2026-02-11T14:06:21.476Z","updated_at":"2026-02-11T14:06:22.064Z","avatar_url":"https://github.com/fnoopv.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# csb\n阿里专有云csb sdk\n\u003e 仅支持http调用\n\n根据阿里云官方sdk修改，支持`context`和`go module`,官方`sdk`不支持\n\n使用方法\n```go\npackage cron\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/fnoopv/csb\"\n)\n\ntype Result struct {\n\tData []struct {\n\t\tUserID          string `json:\"USER_ID\"`\n\t\tMobile          string `json:\"MOBILE\"`\n\t\tEmail           string `json:\"EMAIL,omitempty\"`\n    }\n\tDataSize    int    `json:\"dataSize\"`\n\tTotal       int    `json:\"total\"`\n\tResultCode  int    `json:\"resultCode\"`\n\tResultMsg   string `json:\"resultMsg\"`\n\tHasNextPage bool   `json:\"hasNextPage\"`\n}\n\nfunc SyncAvicUser() {\n\tc := csb.NewCSBClient(\"http://dadsa.com:8888/CSB\", \"dasdsa\", \"dadadadas=\")\n\tc.SetApiName(\"users\")\n\tc.SetApiMethod(\"get\")\n\tc.SetApiVersion(\"1.0.0\")\n\tc.SetContentType(\"application/json;charset=utf-8\")\n\n    // 添加query参数\n\tqueryParam := make(map[string]string)\n\tqueryParam[\"startTime\"] = \"0\"\n\tc.SetQueryParam(queryParam)\n    // 添加请求头\n\theaders := make(map[string][]string)\n\theaders[\"appKey\"] = []string{\"dasdadasd\"}\n\tc.SetHeaders(headers)\n\n\tresult := Result{}\n\terr := c.Do(context.Background(), \u0026result)\n\tif err != nil {\n\t\tfmt.Printf(\"request error: %s\\n\", err)\n\t\treturn\n\t}\n    fmt.Println(result)\n}\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffnoopv%2Fcsb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffnoopv%2Fcsb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffnoopv%2Fcsb/lists"}