Register adds or replaces an EngineDefinition in the catalog.
(def *EngineDefinition)
| 195 | |
| 196 | // Register adds or replaces an EngineDefinition in the catalog. |
| 197 | func (c *EngineCatalog) Register(def *EngineDefinition) { |
| 198 | c.definitions[def.ID] = def |
| 199 | } |
| 200 | |
| 201 | // Get returns the EngineDefinition for the given ID, or nil if not found. |
| 202 | func (c *EngineCatalog) Get(id string) *EngineDefinition { |
no outgoing calls