diff --git a/conn.go b/conn.go index c07a3f1..2cd2221 100644 --- a/conn.go +++ b/conn.go @@ -29,6 +29,8 @@ func (c *Conn) PingMonitor(id string) (string, error) { } } +// Connect establishes a connection to a RADOS cluster. It returns an error, +// if any. func (c *Conn) Connect() error { ret := C.rados_connect(c.cluster) if ret == 0 {