mgo

package
v0.0.0-...-4450389 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package `mgo` wraps `gopkg.in/mgo.v2`.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dial

func Dial(uri string) (*mgo.Session, error)

`Dial()` supports connecting to UNIX domain sockets.

func DialCACert

func DialCACert(uri, caPath, certPath string) (*mgo.Session, error)

Types

type Session

type Session = mgo.Session

Jump to

Keyboard shortcuts

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