server-connection-go

Installation
SKILL.md

Couchbase SDK Connection Management — Go

Platform-agnostic concepts (connection string formats, timeout semantics, durability, sub-document, troubleshooting): shared/server/sdk-connection-concepts.md

The One Rule: One Cluster Per Process

Create one *gocb.Cluster per application process and reuse it. Use sync.Once to guarantee single initialization under concurrent goroutines.


Singleton Pattern

Installs
2
First Seen
Jun 18, 2026
server-connection-go — couchbaselabs/agent-skills