sdkmgo

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: BSD-2-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultMongoDB = getDefaultMongoDB()
)

Functions

func NewMongoDB

func NewMongoDB(name, prefix string) *mongoDB

Types

type MongoDBOpt

type MongoDBOpt struct {
	MgoUri       string
	Prefix       string
	PingInterval int // in seconds
}

Jump to

Keyboard shortcuts

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