Skip to content

dpiddockcmp/go-mongodbatlas

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A Go client library for the MongoDB Atlas API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 98.9%
  • Shell 1.1%