Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface {
GetCollections() map[string]*mgo.Collection
}
type ServiceImpl ¶
type ServiceImpl struct {
// contains filtered or unexported fields
}
func New ¶
func New(url string, databaseName string, collectionsArray []string) (*ServiceImpl, error)
func (*ServiceImpl) GetCollections ¶
func (mongosrv *ServiceImpl) GetCollections() map[string]*mgo.Collection
GetCollections returns the current mongodb collections of the mongosrv
Click to show internal directories.
Click to hide internal directories.