unit_test_common

package
v2.0.0-...-acbaf60 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TestUrl                 = "mongodb://100.81.164.181:18201,100.81.164.181:18202,100.81.164.181:18203"
	TestUrl4_4              = "100.81.164.181:35309"
	TestUrlServerless       = "mongodb://100.81.164.181:19031"
	TestUrlConfigServer     = "mongodb://100.81.164.181:19021"
	TestUrlServerlessTenant = "mongodb://100.81.164.181:19031" // sharding mongos with tenant
	TestUrlSharding         = "mongodb://100.81.164.181:19031"
	TestUrlSsl              = "mongodb://100.81.164.181:18101,100.81.164.181:18102,100.81.164.181:18103"
	TestUrl5_0              = "mongodb://100.81.164.181:18301,100.81.164.181:18302,100.81.164.181:18303"
)

Variables

This section is empty.

Functions

func FetchAllDocumentbsonD

func FetchAllDocumentbsonD(client *mongo.Client, testDb string, testCollection string,
	opts *options.FindOptions) ([]bson.D, error)

func FetchAllDocumentbsonM

func FetchAllDocumentbsonM(client *mongo.Client, testDb string, testCollection string,
	opts *options.FindOptions) ([]bson.M, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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