Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MongoAdapter ¶
type MongoAdapter interface { FindOne(filter bson.M) (interface{}, error) FindMany(filter bson.M) ([]interface{}, error) CloseMongoAdapter() }
func NewMongoAdapter ¶
func NewMongoAdapter(uri, database, collection string) MongoAdapter
Click to show internal directories.
Click to hide internal directories.