// Filter return the first filter
Filter return the first filter
// Filter return the first filter
func (fm *filterManager) Filter() Filter {
	fm.fmLocker.RLock()
	defer fm.fmLocker.RUnlock()
	if len(fm.filters) == 0 {
		return nil
	}
	return fm.filters[0]
}
func ( fm * filterManager ) Filter ( ) Filter { fm . fmLocker . RLock ( ) defer fm . fmLocker . RUnlock ( ) if len ( fm . filters ) == 0 { return nil } return fm . filters [ 0 ] }
Filter return the first filter
Filter return the first filter