如何创建一个新的Couchbase连接池?

huangapple go评论80阅读模式
英文:

golang: How do I create a new Couchbase pool?

问题

进入GoCouchbase,但是我怎么也搞不清楚如何创建一个新的连接池

我已经检查了代码和找到的文档,但是没有找到解决方法。我正在使用couchbaselabs/go-couchbase库和Couchbase Community Edition 2.2.0。

英文:

Getting into Go and Couchbase, and for the life of me cannot figure out how to create a new pool.

I've checked the code and what docs I could find, but no luck. I'm using the couchbaselabs/go-couchbase library with Couchbase Community Edition 2.2.0.

答案1

得分: 4

在Couchbase 2.x中,池(Pools)功能基本上已经废弃,而go-couchbase API没有实现创建新池的方法。

https://stackoverflow.com/questions/16978324/what-is-a-couchbase-pool 是相关的。

英文:

Pools are more or less a dead feature in Couchbase 2.x, and the go-couchbase api doesn't implement a way to create a new pool.

https://stackoverflow.com/questions/16978324/what-is-a-couchbase-pool is relevant.

huangapple
  • 本文由 发表于 2014年8月2日 04:36:08
  • 转载请务必保留本文链接:https://go.coder-hub.com/25088258.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定