// NewRegistryBase creates new registry service.
NewRegistryBase creates new registry service.
// NewRegistryBase creates new registry service .
func NewRegistryBase(config *RegistryConfig) InternalRegistry {
	return &RegistryBase{
		session: config.MgoSession,
		redis:   config.RedisClient,
		hydra:   config.HydraAdminApi,
		mfa:     config.MfaService,
		mailer:  config.Mailer,
	}
}
func NewRegistryBase ( config * RegistryConfig ) InternalRegistry { return & RegistryBase { session : config . MgoSession , redis : config . RedisClient , hydra : config . HydraAdminApi , mfa : config . MfaService , mailer : config . Mailer , } }
NewRegistryBase creates new registry service.
NewRegistryBase creates new registry service .