db

package
v0.0.0-...-75f7c87 Latest Latest
Warning

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

Go to latest
Published: May 8, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Copyright (c) 2023 Tiago Melo. All rights reserved. Use of this source code is governed by the MIT License that can be found in the LICENSE file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MongoDb

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

func ConnectToMongoDb

func ConnectToMongoDb(ctx context.Context, user, pass, host, database string, port int) (*MongoDb, error)

ConnectToMongoDb connects to a running MongoDB instance.

Jump to

Keyboard shortcuts

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