예제 #1
0
func NewBuilderEngine(configure *BaseFunctions.Configure, dbadaptor *BaseFunctions.DBAdaptor, logger *utils.Log4FE, redis *BaseFunctions.RedisClient, index_set *indexer.IndexSet) *BuilderEngine {
	BaseBuilder := builder.NewBuilder(configure, dbadaptor, logger, redis, index_set)
	MyBuilder := builder.NewDBBuilder(BaseBuilder)
	this := &BuilderEngine{MyBuilder}
	return this

}
예제 #2
0
func NewBuilderEngine(configure *BaseFunctions.Configure, dbadaptor *BaseFunctions.DBAdaptor, logger *log4jzl.Log4jzl, redis *BaseFunctions.RedisClient) *BuilderEngine {

	BaseBuilder := builder.NewBuilder(configure, dbadaptor, logger, redis)
	MyBuilder := builder.NewDBBuilder(BaseBuilder)
	this := &BuilderEngine{MyBuilder}
	return this

}