Documentation ¶
Index ¶
- type Client
- func (_m *Client) ApplyURI(uri string)
- func (_m *Client) Connect(ctx context.Context) error
- func (_m *Client) Database(name string, opts ...*options.DatabaseOptions) *mongo.Database
- func (_m *Client) Disconnect(ctx context.Context) error
- func (_m *Client) NewClient() error
- func (_m *Client) Ping(ctx context.Context, rp *readpref.ReadPref) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func (*Client) Disconnect ¶
Disconnect provides a mock function with given fields: ctx
Click to show internal directories.
Click to hide internal directories.