mongodb

package
v0.0.0-...-d423f26 Latest Latest
Warning

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

Go to latest
Published: May 27, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadServiceInstances

func LoadServiceInstances(ctx context.Context, mongoClient *mongo.Client, scrapeType string) []model.ServiceInstance

LoadServiceInstances retrieves all active Service Instances from the database to create the Service Workers

func NewMongoDBClient

func NewMongoDBClient(ctx context.Context, config *config.Config) *mongo.Client

NewMongoDBClient creates a new Client instance for MongoDB to read the Services Instances

Types

This section is empty.

Jump to

Keyboard shortcuts

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