Skip to content

Instantly share code, notes, and snippets.

@eldilibra
Created March 11, 2015 13:07
Show Gist options
  • Save eldilibra/6f3a508ce70d04af18c1 to your computer and use it in GitHub Desktop.
Save eldilibra/6f3a508ce70d04af18c1 to your computer and use it in GitHub Desktop.
response := &types.PhoneFraudDataResponse{
Id: docId,
}
m, err := desmond.NewMessage(desmond.PHONE_FRAUD_DATA_CREATE_COMPLETE, requestId, response, false)
if err != nil {
desmond.HandleError(h.queue, desmond.PHONE_FRAUD_DATA_CREATE_COMPLETE, requestId, err)
return
}
h.queue.Publish(m)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment