heliosmongo

package module
v1.11.2 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const ClientStream = originalMongo.ClientStream
View Source
const CollectionStream = originalMongo.CollectionStream
View Source
const DatabaseStream = originalMongo.DatabaseStream

Variables

View Source
var ErrClientDisconnected = originalMongo.ErrClientDisconnected
View Source
var ErrInvalidIndexValue = originalMongo.ErrInvalidIndexValue
View Source
var ErrMissingResumeToken = originalMongo.ErrMissingResumeToken
View Source
var ErrMultipleIndexDrop = originalMongo.ErrMultipleIndexDrop
View Source
var ErrNonStringIndexName = originalMongo.ErrNonStringIndexName
View Source
var ErrUnacknowledgedWrite = originalMongo.ErrUnacknowledgedWrite

Functions

func BatchCursorFromCursor

func BatchCursorFromCursor(c *Cursor) *driver.BatchCursor

func IsDuplicateKeyError

func IsDuplicateKeyError(err error) bool

func IsNetworkError

func IsNetworkError(err error) bool

func IsTimeout

func IsTimeout(err error) bool

func WithSession

func WithSession(ctx context.Context, sess Session, fn func(SessionContext) error) error

Types

type BSONAppender

type BSONAppender = originalMongo.BSONAppender

type BSONAppenderFunc

type BSONAppenderFunc = originalMongo.BSONAppenderFunc

type BulkWriteError

type BulkWriteError = originalMongo.BulkWriteError

type BulkWriteException

type BulkWriteException = originalMongo.BulkWriteException

type BulkWriteResult

type BulkWriteResult = originalMongo.BulkWriteResult

type ChangeStream

type ChangeStream = originalMongo.ChangeStream

type Client

type Client = originalMongo.Client

func Connect

func Connect(ctx context.Context, opts ...*options.ClientOptions) (*Client, error)

func NewClient

func NewClient(opts ...*options.ClientOptions) (*Client, error)

type ClientEncryption

type ClientEncryption = originalMongo.ClientEncryption

func NewClientEncryption

func NewClientEncryption(keyVaultClient *Client, opts ...*options.ClientEncryptionOptions) (*ClientEncryption, error)

type Collection

type Collection = originalMongo.Collection

type CollectionSpecification

type CollectionSpecification = originalMongo.CollectionSpecification

type CommandError

type CommandError = originalMongo.CommandError

type Cursor

type Cursor = originalMongo.Cursor

func NewCursorFromDocuments

func NewCursorFromDocuments(documents []interface{}, err error, registry *bsoncodec.Registry) (*Cursor, error)

type Database

type Database = originalMongo.Database

type DatabaseSpecification

type DatabaseSpecification = originalMongo.DatabaseSpecification

type DeleteManyModel

type DeleteManyModel = originalMongo.DeleteManyModel

func NewDeleteManyModel

func NewDeleteManyModel() *DeleteManyModel

type DeleteOneModel

type DeleteOneModel = originalMongo.DeleteOneModel

func NewDeleteOneModel

func NewDeleteOneModel() *DeleteOneModel

type DeleteResult

type DeleteResult = originalMongo.DeleteResult

type Dialer

type Dialer = originalMongo.Dialer

type EncryptionKeyVaultError

type EncryptionKeyVaultError = originalMongo.EncryptionKeyVaultError

type ErrMapForOrderedArgument

type ErrMapForOrderedArgument = originalMongo.ErrMapForOrderedArgument

type IndexModel

type IndexModel = originalMongo.IndexModel

type IndexOptionsBuilder

type IndexOptionsBuilder = originalMongo.IndexOptionsBuilder

func NewIndexOptionsBuilder

func NewIndexOptionsBuilder() *IndexOptionsBuilder

type IndexSpecification

type IndexSpecification = originalMongo.IndexSpecification

type IndexView

type IndexView = originalMongo.IndexView

type InsertManyResult

type InsertManyResult = originalMongo.InsertManyResult

type InsertOneModel

type InsertOneModel = originalMongo.InsertOneModel

func NewInsertOneModel

func NewInsertOneModel() *InsertOneModel

type InsertOneResult

type InsertOneResult = originalMongo.InsertOneResult

type ListDatabasesResult

type ListDatabasesResult = originalMongo.ListDatabasesResult

type MarshalError

type MarshalError = originalMongo.MarshalError

type MongocryptError

type MongocryptError = originalMongo.MongocryptError

type MongocryptdError

type MongocryptdError = originalMongo.MongocryptdError

type Pipeline

type Pipeline = originalMongo.Pipeline

type ReplaceOneModel

type ReplaceOneModel = originalMongo.ReplaceOneModel

func NewReplaceOneModel

func NewReplaceOneModel() *ReplaceOneModel

type RewrapManyDataKeyResult

type RewrapManyDataKeyResult = originalMongo.RewrapManyDataKeyResult

type ServerError

type ServerError = originalMongo.ServerError

type Session

type Session = originalMongo.Session

func SessionFromContext

func SessionFromContext(ctx context.Context) Session

type SessionContext

type SessionContext = originalMongo.SessionContext

func NewSessionContext

func NewSessionContext(ctx context.Context, sess Session) SessionContext

type SingleResult

type SingleResult = originalMongo.SingleResult

func NewSingleResultFromDocument

func NewSingleResultFromDocument(document interface{}, err error, registry *bsoncodec.Registry) *SingleResult

type StreamType

type StreamType = originalMongo.StreamType

type UpdateManyModel

type UpdateManyModel = originalMongo.UpdateManyModel

func NewUpdateManyModel

func NewUpdateManyModel() *UpdateManyModel

type UpdateOneModel

type UpdateOneModel = originalMongo.UpdateOneModel

func NewUpdateOneModel

func NewUpdateOneModel() *UpdateOneModel

type UpdateResult

type UpdateResult = originalMongo.UpdateResult

type WriteConcernError

type WriteConcernError = originalMongo.WriteConcernError

type WriteError

type WriteError = originalMongo.WriteError

type WriteErrors

type WriteErrors = originalMongo.WriteErrors

type WriteException

type WriteException = originalMongo.WriteException

type WriteModel

type WriteModel = originalMongo.WriteModel

type XSession

type XSession = originalMongo.XSession

Jump to

Keyboard shortcuts

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