Init runs some startup code for this resource.
(init *engine.Init)
| 101 | |
| 102 | // Init runs some startup code for this resource. |
| 103 | func (obj *ValueRes) Init(init *engine.Init) error { |
| 104 | obj.init = init // save for later |
| 105 | |
| 106 | return nil |
| 107 | } |
| 108 | |
| 109 | // Cleanup is run by the engine to clean up after the resource is done. |
| 110 | func (obj *ValueRes) Cleanup() error { |
no outgoing calls