mongodb

package
v1.0.0-beta.5 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSource

func NewSource(opts ...source.Option) source.Source

func WithCollection

func WithCollection(collection string) source.Option

func WithConfig

func WithConfig(data []byte) []source.Option

func WithDB

func WithDB(db string) source.Option

func WithService

func WithService(service string) source.Option

func WithURI

func WithURI(uri string) source.Option

Types

type Config

type Config struct {
	Service string
	Format  string
	Config  string
}

Jump to

Keyboard shortcuts

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