Godeps/_workspace/src/gopkg.in/mgo.v2/session.go
func (s *Session) SetCursorTimeout(d time.Duration) {
	s.m.Lock()
	if d == 0 {
		s.queryConfig.op.flags |= flagNoCursorTimeout
	} else {
		panic("SetCursorTimeout: only 0 (disable timeout) supported for now")
	}
	s.m.Unlock()
}
func (s *Session) SetCursorTimeout(d time.Duration) {
	s.m.Lock()
	if d == 0 {
		s.queryConfig.op.flags |= flagNoCursorTimeout
	} else {
		panic("SetCursorTimeout: only 0 (disable timeout) supported for now")
	}
	s.m.Unlock()
}
func ( s * Session ) SetCursorTimeout ( d time . Duration ) { s . m . Lock ( ) if d == 0 { s . queryConfig . op . flags |= flagNoCursorTimeout } else { panic ( " " ) } s . m . Unlock ( ) }
// SetCursorTimeout changes the standard timeout period that the server
// enforces on created cursors. The only supported value right now is
// 0, which disables the timeout. The standard server timeout is 10 minutes.
SetCursorTimeout changes the standard timeout period that the server enforces on created cursors . The only supported value right now is 0 which disables the timeout . The standard server timeout is 10 minutes .