package
3.65.0
Repository: https://github.com/jeffail/benthos.git
Documentation: pkg.go.dev

# Functions

ConfigDocs returns a documentation field spec for fields within a Config.
NewConfig returns a Config with default values.
NewOperation converts a string operation to a strongly-typed Operation.

# Constants

JSONMarshalModeCanonical Canonical BSON to JSON marshal mode.
JSONMarshalModeRelaxed Relaxed BSON to JSON marshal mode.
OperationDeleteMany Delete many operation.
OperationDeleteOne Delete One operation.
OperationFindOne Find one operation.
OperationInsertOne Insert One operation.
OperationInvalid Invalid operation.
OperationReplaceOne Replace one operation.
OperationUpdateOne Update one operation.

# Structs

Config is a config struct for a mongo connection.
WriteConcern describes a write concern for MongoDB.

# Type aliases

JSONMarshalMode represents the way in which BSON should be marshalled to JSON.
Operation represents the operation that will be performed by MongoDB.