Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/akshaykarle/go-mongodbatlas
A Go client library for the MongoDB Atlas API
https://github.com/akshaykarle/go-mongodbatlas
atlas mongodb mongodb-atlas
Last synced: 3 months ago
JSON representation
A Go client library for the MongoDB Atlas API
- Host: GitHub
- URL: https://github.com/akshaykarle/go-mongodbatlas
- Owner: akshaykarle
- License: gpl-3.0
- Created: 2018-01-03T15:34:00.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-11-05T10:13:30.000Z (about 5 years ago)
- Last Synced: 2024-06-18T20:22:40.787Z (5 months ago)
- Topics: atlas, mongodb, mongodb-atlas
- Language: Go
- Size: 104 KB
- Stars: 16
- Watchers: 3
- Forks: 20
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-mongodbatlas [![Build Status](https://travis-ci.org/akshaykarle/go-mongodbatlas.svg?branch=master)](https://travis-ci.org/akshaykarle/go-mongodbatlas) [![GoDoc](https://godoc.org/github.com/akshaykarle/go-mongodbatlas/mongodb?status.png)](https://godoc.org/github.com/akshaykarle/go-mongodbatlas/mongodb) [![codecov](https://codecov.io/gh/akshaykarle/go-mongodbatlas/branch/master/graph/badge.svg)](https://codecov.io/gh/akshaykarle/go-mongodbatlas)
A Go client library for the [MongoDB Atlas API](https://docs.atlas.mongodb.com/api/).## Getting started
MongoDB Atlas uses the [Digest Access Authentication](https://tools.ietf.org/html/rfc2069) and doesn't support Basic Auth. Follow the examples in [examples](/examples) directory. We create a httpClient using [go-http-digest-auth-client](https://github.com/xinsnake/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
```## 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