func (b *bruteRanger) Insert(entry RangerEntry) error {
	network := entry.Network()
	key := network.String()
	if _, found := b.ipV4Entries[key]; !found {
		entries, err := b.getEntriesByVersion(entry.Network().IP)
		if err != nil {
			return err
		}
		entries[key] = entry
	}
	return nil
}
func (b *bruteRanger) Insert(entry RangerEntry) error {
	network := entry.Network()
	key := network.String()
	if _, found := b.ipV4Entries[key]; !found {
		entries, err := b.getEntriesByVersion(entry.Network().IP)
		if err != nil {
			return err
		}
		entries[key] = entry
	}
	return nil
}
func ( b * bruteRanger ) Insert ( entry RangerEntry ) error { network := entry . Network ( ) key := network . String ( ) if _ , found := b . ipV4Entries [ key ] ; ! found { entries , err := b . getEntriesByVersion ( entry . Network ( ) . IP ) if err != nil { return err } entries [ key ] = entry } return nil }
// Insert inserts a RangerEntry into ranger.
Insert inserts a RangerEntry into ranger .