Documentation
¶
Index ¶
- type Driver
- func (_m *Driver) Connect(ctx context.Context) error
- func (_m *Driver) Disconnect(ctx context.Context) error
- func (_m *Driver) GetDB() *mongo.Database
- func (_m *Driver) SetClient(cfg config.DatabaseConfig) error
- func (_m *Driver) SetClientWithContext(ctx context.Context, cfg config.DatabaseConfig) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
Driver is an autogenerated mock type for the Driver type
func (*Driver) Disconnect ¶
Disconnect provides a mock function with given fields: ctx
func (*Driver) SetClient ¶
func (_m *Driver) SetClient(cfg config.DatabaseConfig) error
SetClient provides a mock function with given fields: cfg
func (*Driver) SetClientWithContext ¶
SetClientWithContext provides a mock function with given fields: ctx, cfg
Click to show internal directories.
Click to hide internal directories.