Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MongoClient ¶
func NewMongoClient ¶
func NewMongoClient(ctx context.Context, conf *MongoConfig) *MongoClient
func (*MongoClient) Close ¶
func (c *MongoClient) Close() error
func (*MongoClient) Database ¶
func (c *MongoClient) Database() *mongo.Database
type MongoConfig ¶
Click to show internal directories.
Click to hide internal directories.