package
0.22.0
Repository: https://github.com/w6d-io/x.git
Documentation: pkg.go.dev

# Functions

BuildBulkOperation create a single bulk operation.
CodecRegistry create a new bsoncode.
GetClient return the mongo client recorded or create a new instance.
GetLogLevel returns log level from data value.
NewOptions ...
Timeout option.
WithProtoCodec option.
WithStrCodec option.

# Variables

ProtoCodecFunc is the Proto Encoding Function.
ProtoDeCodecFunc is the Proto Dencoding Function.
StrCodecFunc is the String Encoding Function.

# Structs

Client is the internal Mongo Client.
ClientCollection is the internal Mongo Collection.
ClientCursor is the internal Mongo Cursor.
ClientDatabase is the internal Mongo Database.
ClientIndex is the internal Client Index.
ClientSingleResult is the internal Single Result.
MockbsonReader structure used by codec.
MockbsonWriter structure used by codec.
MockClient is the internal mock client.
MockCollection is the internal mock collection.
MockCursor is the internal mock cursor.
MockIndex is the internal mock index.
MockSingleResult is the internal mock single result.
Mongo input structure.
MongoDB is the public Mongo Instance.
Options ...

# Interfaces

ClientAPI is the internal Client API interface.
CollectionAPI is the internal Collection API interface.
CursorAPI is the internal Cursor API interface.
IndexAPI is the internal Index API interface.
MongoAPI is the public Mongo API interface.
SingleResultAPI is the internal Single Result API interface.

# Type aliases

Option ...