-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
golang mysql examples [T633] #190
golang mysql examples [T633] #190
Conversation
print generated zone id on insert
if *data != "" { | ||
rand.Seed(time.Now().UnixNano()) | ||
//get new zone over http | ||
resp, err := http.Get("http://127.0.0.1:9191/getNewZone") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it the address of acraconnector? shall we put it into variable?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes. it's acraconnector's address and it used once, so I didn't assign it to variable and used default value
What is the proper way of running this example? |
yes. this is simple example that was created when Acra could work only with AcraConnector in the pair and also required db) can be used any our docker config where used AcraConnector + AcraServer + Database |
actually, I remembered that we explain python examples in our wiki - https://github.com/cossacklabs/acra/wiki/Using-Acra-to-Protect-Your-Django-App#if-you-want-to-try-acra-in-containers-first |
No description provided.