Documentation ¶
Index ¶
- Constants
- func NewExperimentsRepository(session *mgo.Session, db string, solutions solver.SolutionRepository) solver.ExperimentRepository
- func NewSanModelsRepository(session *mgo.Session, db string) models.Repository
- func NewSolutionsRepository(session *mgo.Session, db string) solver.SolutionRepository
Constants ¶
View Source
const EXPERIMENTS_COLLECTION = "experiments"
View Source
const SAN_MODELS_COLLECTION = "sanModels"
View Source
const SOLUTIONS_COLLECTION = "solutions"
Variables ¶
This section is empty.
Functions ¶
func NewExperimentsRepository ¶
func NewExperimentsRepository(session *mgo.Session, db string, solutions solver.SolutionRepository) solver.ExperimentRepository
NewExperimentsRepository returns a new instance of an experiments repository.
func NewSanModelsRepository ¶
func NewSanModelsRepository(session *mgo.Session, db string) models.Repository
NewSanModelsRepository returns a new instance of the models repository.
func NewSolutionsRepository ¶
func NewSolutionsRepository(session *mgo.Session, db string) solver.SolutionRepository
NewSolutionsRepository returns a new instance of a solutions repository.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.