Skip to content
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

Merged
merged 6 commits into from
Jun 19, 2018
Merged

golang mysql examples [T633] #190

merged 6 commits into from
Jun 19, 2018

Conversation

Lagovas
Copy link
Collaborator

@Lagovas Lagovas commented Jun 13, 2018

No description provided.

@Lagovas Lagovas requested a review from vixentael June 13, 2018 13:33
if *data != "" {
rand.Seed(time.Now().UnixNano())
//get new zone over http
resp, err := http.Get("http://127.0.0.1:9191/getNewZone")
Copy link
Collaborator

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?

Copy link
Collaborator Author

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

@vixentael
Copy link
Collaborator

What is the proper way of running this example?
Acra should be on and running on localhost machine? As well as database?

@Lagovas
Copy link
Collaborator Author

Lagovas commented Jun 14, 2018

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

@Lagovas
Copy link
Collaborator Author

Lagovas commented Jun 14, 2018

What is the proper way of running this example?
Acra should be on and running on localhost machine? As well as 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
And all examples are the same. They differ only by running program (python/ruby/golang). Other are the same actually.

@Lagovas Lagovas merged commit 80846a6 into cossacklabs:master Jun 19, 2018
@Lagovas Lagovas deleted the lagovas/T633-golang-mysql-examples branch June 20, 2018 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants