Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 1.25 KB

README.md

File metadata and controls

22 lines (18 loc) · 1.25 KB

go-mongodbatlas Build Status GoDoc codecov

A Go client library for the MongoDB Atlas API.

Getting started

MongoDB Atlas uses the Digest Access Authentication and doesn't support Basic Auth. Follow the examples in examples directory. We create a httpClient using go-http-digest-auth-client and pass it over to mongodbatlas. To run a mongo atlas cluster example, just run:

go run examples/clusters.go <username> <mongodb-atlas-api-key> <group-id>

Development & Contributing

Installing dependencies

go get github.com/golang/lint/golint
go get github.com/akshaykarle/go-http-digest-auth-client
go get -v -t ./mongodbatlas

Testing

Run ./test.sh

TODO

  • Add support for Monitoring & Logging