func NewEngine(c *config.Config, s session.Session, db *db.DB, e *crypto.Engine,
	client *registry.Client) *Engine {
	engine := &Engine{
		config:  c,
		session: s,
		db:      db,
		crypto:  e,
		client:  client,
	}
	engine.Worklog = Worklog{engine: engine}
	engine.Machine = Machine{engine: engine}
	engine.Session = Session{engine: engine}
	return engine
}
// NewEngine returns a new Engine
NewEngine returns a new Engine
// NewEngine returns a new Engine
func NewEngine(c *config.Config, s session.Session, db *db.DB, e *crypto.Engine,
	client *registry.Client) *Engine {
	engine := &Engine{
		config:  c,
		session: s,
		db:      db,
		crypto:  e,
		client:  client,
	}
	engine.Worklog = Worklog{engine: engine}
	engine.Machine = Machine{engine: engine}
	engine.Session = Session{engine: engine}
	return engine
}
func NewEngine ( c * config . Config , s session . Session , db * db . DB , e * crypto . Engine , client * registry . Client ) * Engine { engine := & Engine { config : c , session : s , db : db , crypto : e , client : client , } engine . Worklog = Worklog { engine : engine } engine . Machine = Machine { engine : engine } engine . Session = Session { engine : engine } return engine }
NewEngine returns a new Engine
NewEngine returns a new Engine