Documentation ¶
Index ¶
Constants ¶
View Source
const Name = "defaults"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultPlugin ¶
type DefaultPlugin struct {
// contains filtered or unexported fields
}
This is a plugin that handles sending the request to the acutual downstream mongo
func (*DefaultPlugin) Configure ¶
func (p *DefaultPlugin) 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 (*DefaultPlugin) Name ¶
func (p *DefaultPlugin) Name() string
type DefaultPluginConfig ¶
type DefaultPluginConfig struct { DefaultReadConcern *command.ReadConcern `bson:"defaultReadConcern"` DefaultMaxTimeMS *int64 `bson:"defaultMaxTimeMS"` }
Click to show internal directories.
Click to hide internal directories.