mongo

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfig

func NewConfig(opts ...ConfigOption) *config

func NewGenerateLoseStore

func NewGenerateLoseStore(client *mongo.Client, opts ...ConfigOption) *generateLoseStore

func NewLowerTransactionStore

func NewLowerTransactionStore(client *mongo.Client, opts ...ConfigOption) *lowerTransaction

func NewStatusStore

func NewStatusStore(client *mongo.Client, opts ...ConfigOption) *status

func NewStore

func NewStore(client *mongo.Client, opts ...ConfigOption) *store

func NewTransactionStore

func NewTransactionStore(client *mongo.Client, opts ...ConfigOption) *transaction

Types

type ConfigOption

type ConfigOption func(*config)

func ConfigWithCollection

func ConfigWithCollection(collection string) ConfigOption

func ConfigWithConvert

func ConfigWithConvert(convert role.PbConvertTask) ConfigOption

func ConfigWithCopy

func ConfigWithCopy(cp xcopy.XCopy) ConfigOption

func ConfigWithDb

func ConfigWithDb(db string) ConfigOption

func ConfigWithToken

func ConfigWithToken(token string) ConfigOption

Jump to

Keyboard shortcuts

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