Aliyun tablestore SDK for Go

GitHub version Build Status Coverage Status

关于

运行环境

安装方法

GitHub安装

HTTP代理

通过固定代理地址创建客户端:

config := tablestore.NewDefaultTableStoreConfig()
config.ProxyHost = "http://user:password@proxy.example.com:8080"
client := tablestore.NewClientWithConfig(endpoint, instanceName, accessKeyID, accessKeySecret, securityToken, config)

设置ProxyFromEnvironment可读取HTTP_PROXYHTTPS_PROXYNO_PROXY环境变量。ProxyHost与环境代理同时设置时,ProxyHost优先;设置Transport时,代理行为完全由自定义Transport控制。

贡献代码

联系我们

扫码加入TableStore讨论群,和我们直接交流讨论

钉钉群号:23307953

运行测试

  1. 修改testConfig/config.go中的配置信息,包括访问阿里云TableStore服务的地址、访问凭证等。
  2. 运行单个suite:go test -test.v -timeout 60m github.com/aliyun/aliyun-tablestore-go-sdk/tablestore -check.f TableStoreSuite