SetStorage sets current storage
(b []byte)
| 103 | |
| 104 | // SetStorage sets current storage |
| 105 | func (c *PluginInstance) SetStorage(b []byte) error { |
| 106 | return c.storageHandler.Save(b) |
| 107 | } |
| 108 | |
| 109 | // GetStorage sets current storage |
| 110 | func (c *PluginInstance) GetStorage() ([]byte, error) { |