mgopool

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pool

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

func New

func New(url string, size ...int) (pool *Pool, err error)

func (*Pool) Session

func (p *Pool) Session() (session *mgo.Session, helper *SessionHelper)

type SessionHelper

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

func (*SessionHelper) Close

func (s *SessionHelper) Close(err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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