writeconcernoverride

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2023 License: MIT Imports: 5 Imported by: 0

README

writeconcernoverride

This plugin simply allows for the overriding of writeconcerns on various commands./

Documentation

Index

Constants

View Source
const Name = "writeconcernoverride"

Variables

This section is empty.

Functions

This section is empty.

Types

type WriteconcernOverridePlugin

type WriteconcernOverridePlugin struct {
	// contains filtered or unexported fields
}

This is a plugin that handles sending the request to the acutual downstream mongo

func (*WriteconcernOverridePlugin) Configure

func (p *WriteconcernOverridePlugin) Configure(d bson.D) error

Configure configures this plugin with the given configuration object. Returns an error if the configuration is invalid for the plugin.

func (*WriteconcernOverridePlugin) Name

func (*WriteconcernOverridePlugin) Process

Process is the function executed when a message is called in the pipeline.

type WriteconcernOverridePluginConfig

type WriteconcernOverridePluginConfig struct {
	UpdateOverrides map[string]interface{} `bson:"updateOverride"`
}

Jump to

Keyboard shortcuts

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