doc: update method doc

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
This commit is contained in:
Noah Watkins 2014-05-24 11:41:58 -07:00
parent af6b92d0e0
commit 56038c2675

View File

@ -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 {