func NewDealer(mechanism zmtp.SecurityMechanism, id string) Dealer {
	return &DealerSocket{
		Socket: NewSocket(false, zmtp.DealerSocketType, zmtp.SocketIdentity(id), mechanism),
	}
}
// NewDealer accepts a zmtp.SecurityMechanism and an ID.
// It returns a DealerSocket as a gomq.Dealer interface.
NewDealer accepts a zmtp.SecurityMechanism and an ID.
It returns a DealerSocket as a gomq.Dealer interface.
// NewDealer accepts a zmtp . SecurityMechanism and an ID . // It returns a DealerSocket as a gomq . Dealer interface .
func NewDealer(mechanism zmtp.SecurityMechanism, id string) Dealer {
	return &DealerSocket{
		Socket: NewSocket(false, zmtp.DealerSocketType, zmtp.SocketIdentity(id), mechanism),
	}
}
func NewDealer ( mechanism zmtp . SecurityMechanism , id string ) Dealer { return & DealerSocket { Socket : NewSocket ( false , zmtp . DealerSocketType , zmtp . SocketIdentity ( id ) , mechanism ) , } }
NewDealer accepts a zmtp.SecurityMechanism and an ID.
NewDealer accepts a zmtp . SecurityMechanism and an ID .