Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MongoService ¶
type MongoService struct { Mongo_URL string Database string // contains filtered or unexported fields }
func NewMongoService ¶
func NewMongoService(url, database string) *MongoService
func (*MongoService) Disconnect ¶
func (m *MongoService) Disconnect() error
func (*MongoService) GetConnection ¶
func (m *MongoService) GetConnection() (*mongo.Database, error)
Click to show internal directories.
Click to hide internal directories.