func (lgc *Logic) GetIndexSets(skip, limit int) ([]graylog.IndexSet, int, int, error) {
	iss, total, err := lgc.store.GetIndexSets(skip, limit)
	if err != nil {
		return iss, total, 500, err
	}
	return iss, total, 200, nil
}
// GetIndexSets returns a list of all index sets.
GetIndexSets returns a list of all index sets.
// GetIndexSets returns a list of all index sets .
func (lgc *Logic) GetIndexSets(skip, limit int) ([]graylog.IndexSet, int, int, error) {
	iss, total, err := lgc.store.GetIndexSets(skip, limit)
	if err != nil {
		return iss, total, 500, err
	}
	return iss, total, 200, nil
}
func ( lgc * Logic ) GetIndexSets ( skip , limit int ) ( [ ] graylog . IndexSet , int , int , error ) { iss , total , err := lgc . store . GetIndexSets ( skip , limit ) if err != nil { return iss , total , 500 , err } return iss , total , 200 , nil }
GetIndexSets returns a list of all index sets.
GetIndexSets returns a list of all index sets .