func New(db *reform.DB, logger log.Logger, payAddr string,
	timeout uint) (*Service, error) {
	return &Service{
		db:      db,
		msgChan: make(chan *req),
		payAddr: payAddr,
		timeout: time.Duration(timeout) * time.Millisecond,
		logger:  logger.Add("type", "messages/ept.Service"),
	}, nil
}
func New(db *reform.DB, logger log.Logger, payAddr string,
	timeout uint) (*Service, error) {
	return &Service{
		db:      db,
		msgChan: make(chan *req),
		payAddr: payAddr,
		timeout: time.Duration(timeout) * time.Millisecond,
		logger:  logger.Add("type", "messages/ept.Service"),
	}, nil
}
func New ( db * reform . DB , logger log . Logger , payAddr string , timeout uint ) ( * Service , error ) { return & Service { db : db , msgChan : make ( chan * req ) , payAddr : payAddr , timeout : time . Duration ( timeout ) * time . Millisecond , logger : logger . Add ( " " , " " ) , } , nil }
// New function for initialize the service for generating
// the Endpoint Message.
New function for initialize the service for generating the Endpoint Message .