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

WIP: crate: Added Ping method #18

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

johnandersen777
Copy link

Signed-off-by: John Andersen [email protected]

Signed-off-by: John Andersen <[email protected]>
@sourcelevel-bot
Copy link

Hello, @pdxjohnny! This is your first Pull Request that will be reviewed by Ebert, an automatic Code Review service. It will leave comments on this diff with potential issues and style violations found in the code as you push new commits. You can also see all the issues found on this Pull Request on its review page. Please check our documentation for more information.

crate.go Outdated
@@ -33,6 +35,14 @@ func (c *CrateDriver) Open(crate_url string) (driver.Conn, error) {
return c, nil
}

func (c *CrateDriver) Ping(ctx context.Context) error {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exported method CrateDriver.Ping should have comment or be unexported

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oooooo fancy

crate.go Outdated
)

// Crate conn structure
type CrateDriver struct {
Url string // Crate http endpoint url
Url string // Crate http endpoint url

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

struct field Url should be URL

@johnandersen777 johnandersen777 changed the title crate: Added Ping method WIP: crate: Added Ping method Oct 1, 2017
crate:
  For sql.Open the URL now accepts query parameters. So far these are
  time.Duration formatted values for the http client's Timeout and
  KeepAlive parameters.

Signed-off-by: John Andersen <[email protected]>
@sourcelevel-bot
Copy link

Ebert has finished reviewing this Pull Request and has found:

  • 1 fixed issue! 🎉

You can see more details about this review at https://ebertapp.io/github/herenow/go-crate/pulls/18.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants