code: func NewTXTRegistry(provider provider.Provider, txtPrefix, ownerID string, cacheInterval time.Duration) (*TXTRegistry, error) {
  	if ownerID == "" {
  		return nil, errors.New("owner id cannot be empty")
  	}
  
  	mapper := newPrefixNameMapper(txtPrefix)
  
  	return &TXTRegistry{
  		provider:      provider,
  		ownerID:       ownerID,
  		mapper:        mapper,
  		cacheInterval: cacheInterval,
  	}, nil
  }
docs: // NewTXTRegistry returns new TXTRegistry object