func (lgc *Logic) GetEnabledStreams() ([]graylog.Stream, int, int, error) {
	streams, total, err := lgc.store.GetEnabledStreams()
	if err != nil {
		return nil, 0, 500, err
	}
	return streams, total, 200, nil
}
// GetEnabledStreams returns all enabled streams.
GetEnabledStreams returns all enabled streams.
// GetEnabledStreams returns all enabled streams .
func (lgc *Logic) GetEnabledStreams() ([]graylog.Stream, int, int, error) {
	streams, total, err := lgc.store.GetEnabledStreams()
	if err != nil {
		return nil, 0, 500, err
	}
	return streams, total, 200, nil
}
func ( lgc * Logic ) GetEnabledStreams ( ) ( [ ] graylog . Stream , int , int , error ) { streams , total , err := lgc . store . GetEnabledStreams ( ) if err != nil { return nil , 0 , 500 , err } return streams , total , 200 , nil }
GetEnabledStreams returns all enabled streams.
GetEnabledStreams returns all enabled streams .