Documentation ¶
Index ¶
Constants ¶
View Source
const (
PluginsRoot = root + ".plugins"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClientOptionsPlugin ¶
type ClientOptionsPlugin func(context.Context, *options.ClientOptions) error
type Conn ¶
type Conn struct { ClientOptions *options.ClientOptions Client *mongo.Client Database *mongo.Database }
func NewConnWithConfigPath ¶
type Options ¶
type Options struct { Uri string Auth *options.Credential }
func NewOptions ¶
func NewOptionsWithPath ¶
type Plugin ¶
type Plugin func(context.Context) (ClientOptionsPlugin, ClientPlugin)
Click to show internal directories.
Click to hide internal directories.