Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MongoClient ¶
type MongoClient struct { Database string // contains filtered or unexported fields }
MongoClient mongodb client.
func NewMongoClient ¶
func NewMongoClient(conf config.AccessPoint) (*MongoClient, error)
NewMongoClient Create DBEngine instance.
func (*MongoClient) Conn ¶
func (client *MongoClient) Conn() *qmgo.QmgoClient
Conn return connection.
func (*MongoClient) SetLogger ¶
func (client *MongoClient) SetLogger(logger slog.Logger)
SetLogger set logger.
Click to show internal directories.
Click to hide internal directories.