code: func NewWorker(config *config.Config) (*Worker, error) {
  	hostname, err := os.Hostname()
  	if err != nil {
  		return nil, err
  	}
  
  	workers.Configure(map[string]string{
  		"server":   config.GetString("pitaya.worker.redis.url"),
  		"pool":     config.GetString("pitaya.worker.redis.pool"),
  		"password": config.GetString("pitaya.worker.redis.password"),
  		"process":  hostname,
  	})
  
  	return &Worker{
  		concurrency: config.GetInt("pitaya.worker.concurrency"),
  		opts:        NewEnqueueOpts(config),
  		config:      config,
  	}, nil
  }
docs: // NewWorker configures and returns a *Worker