func (f *Factory) Register(typeKey string, register FactoryRegister) error {
	if _, exists := f.inventory[typeKey]; exists {
		return errors.AlreadyExistsf("proxy register for key %s", typeKey)
	}
	f.inventory[typeKey] = register
	return nil
}
// Register registers a new proxier type and creationg methods to this factory
Register registers a new proxier type and creationg methods to this factory
// Register registers a new proxier type and creationg methods to this factory
func (f *Factory) Register(typeKey string, register FactoryRegister) error {
	if _, exists := f.inventory[typeKey]; exists {
		return errors.AlreadyExistsf("proxy register for key %s", typeKey)
	}
	f.inventory[typeKey] = register
	return nil
}
func ( f * Factory ) Register ( typeKey string , register FactoryRegister ) error { if _ , exists := f . inventory [ typeKey ] ; exists { return errors . AlreadyExistsf ( " " , typeKey ) } f . inventory [ typeKey ] = register return nil }
Register registers a new proxier type and creationg methods to this factory
Register registers a new proxier type and creationg methods to this factory