mongo

package module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2021 License: MIT Imports: 5 Imported by: 0

README

Mongo

MongoDB API Wrapper
GitHub tag (latest SemVer) GitHub GitHub repo size

Installation

go get -d -u github.com/Reclyptor/mongo

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MongoClient

type MongoClient struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(mongodbURI string) MongoClient

func (MongoClient) Disconnect

func (client MongoClient) Disconnect()

func (MongoClient) FindEntities

func (client MongoClient) FindEntities(database string, collection string) []interface{}

func (MongoClient) ListCollections

func (client MongoClient) ListCollections(database string) []string

func (MongoClient) ListDatabases

func (client MongoClient) ListDatabases() []string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL