func (store *Store) GetStream(id string) (*graylog.Stream, error) {
	store.imutex.RLock()
	defer store.imutex.RUnlock()
	s, ok := store.streams[id]
	if ok {
		return &s, nil
	}
	return nil, nil
}
// GetStream returns a stream.
GetStream returns a stream.
// GetStream returns a stream .
func (store *Store) GetStream(id string) (*graylog.Stream, error) {
	store.imutex.RLock()
	defer store.imutex.RUnlock()
	s, ok := store.streams[id]
	if ok {
		return &s, nil
	}
	return nil, nil
}
func ( store * Store ) GetStream ( id string ) ( * graylog . Stream , error ) { store . imutex . RLock ( ) defer store . imutex . RUnlock ( ) s , ok := store . streams [ id ] if ok { return & s , nil } return nil , nil }
GetStream returns a stream.
GetStream returns a stream .