code: 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
  }
docs: // New function for initialize the service for generating
  // the Endpoint Message.