Godeps/_workspace/src/gopkg.in/mgo.v2/session.go
func (s *Session) LogoutAll() {
	s.m.Lock()
	for _, cred := range s.creds {
		if s.masterSocket != nil {
			s.masterSocket.Logout(cred.Source)
		}
		if s.slaveSocket != nil {
			s.slaveSocket.Logout(cred.Source)
		}
	}
	s.creds = s.creds[0:0]
	s.m.Unlock()
}
func (s *Session) LogoutAll() {
	s.m.Lock()
	for _, cred := range s.creds {
		if s.masterSocket != nil {
			s.masterSocket.Logout(cred.Source)
		}
		if s.slaveSocket != nil {
			s.slaveSocket.Logout(cred.Source)
		}
	}
	s.creds = s.creds[0:0]
	s.m.Unlock()
}
func ( s * Session ) LogoutAll ( ) { s . m . Lock ( ) for _ , cred := range s . creds { if s . masterSocket != nil { s . masterSocket . Logout ( cred . Source ) } if s . slaveSocket != nil { s . slaveSocket . Logout ( cred . Source ) } } s . creds = s . creds [ 0 : 0 ] s . m . Unlock ( ) }
// LogoutAll removes all established authentication credentials for the session.
LogoutAll removes all established authentication credentials for the session .