Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DebugTraceEnabled ¶
func DebugTraceEnabled() bool
DebugTraceEnabled returns true if the environment variable GO_CEPH_TEST_DEBUG_TRACE indicates that the JSON requests and responses should be traced (logged).
func NewConnFromConfig ¶
NewConnFromConfig returns a new rados connection based on the specified config file. If configFile is the empty string, the default config is used.
Types ¶
type Connector ¶
type Connector struct {
// contains filtered or unexported fields
}
Connector is a caching and convenience type for rados connections. Typically it is instantiated as a global in a go _test.go file.
Click to show internal directories.
Click to hide internal directories.