func authenticate(run *engexport.RunConfig) (a *godig.API, err error) {
	c := godig.CredData{
		Host:     run.Host,
		Email:    run.Email,
		Password: run.Password,
	}
	a = godig.NewAPI()
	err = a.Authenticate(c)
	if err == nil {
		a.Verbose = run.APIVerbose
	}
	return a, err
}
//authenticate uses a RunConfig to authenticate with Salsa Classic's API.
authenticate uses a RunConfig to authenticate with Salsa Classic's API.
// authenticate uses a RunConfig to authenticate with Salsa Classic ' s API .
func authenticate(run *engexport.RunConfig) (a *godig.API, err error) {
	c := godig.CredData{
		Host:     run.Host,
		Email:    run.Email,
		Password: run.Password,
	}
	a = godig.NewAPI()
	err = a.Authenticate(c)
	if err == nil {
		a.Verbose = run.APIVerbose
	}
	return a, err
}
func authenticate ( run * engexport . RunConfig ) ( a * godig . API , err error ) { c := godig . CredData { Host : run . Host , Email : run . Email , Password : run . Password , } a = godig . NewAPI ( ) err = a . Authenticate ( c ) if err == nil { a . Verbose = run . APIVerbose } return a , err }
authenticate uses a RunConfig to authenticate with Salsa Classic's API.
authenticate uses a RunConfig to authenticate with Salsa Classic ' s API .