mocks

package
v1.0.23 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IConnection

type IConnection struct {
	mock.Mock
}

IConnection is an autogenerated mock type for the IConnection type

func (*IConnection) Aggregate

func (_m *IConnection) Aggregate(ctx context.Context, db string, collection string, command string) (wrapper.ICursor, error)

Aggregate provides a mock function with given fields: ctx, db, collection, command

func (*IConnection) Find

func (_m *IConnection) Find(ctx context.Context, db string, collection string, command string) (wrapper.ICursor, error)

Find provides a mock function with given fields: ctx, db, collection, command

type ICursor

type ICursor struct {
	mock.Mock
}

ICursor is an autogenerated mock type for the ICursor type

func (*ICursor) Close

func (_m *ICursor) Close(ctx context.Context) error

Close provides a mock function with given fields: ctx

func (*ICursor) Decode

func (_m *ICursor) Decode(val interface{}) error

Decode provides a mock function with given fields: val

func (*ICursor) Err

func (_m *ICursor) Err() error

Err provides a mock function with given fields:

func (*ICursor) Next

func (_m *ICursor) Next(ctx context.Context) bool

Next provides a mock function with given fields: ctx

Jump to

Keyboard shortcuts

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