Documentation ¶
Index ¶
Constants ¶
View Source
const ( DBName string = "coredata" CollectionName string = "exportConfiguration" )
DBName - DB name CollectionName - Collection name
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository struct {
Session *mgo.Session
}
Repository - get Mongo session
func NewRepository ¶
func NewRepository(ms *mgo.Session) *Repository
NewRepository - create new Mongo repository
Click to show internal directories.
Click to hide internal directories.