Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Snapshot ¶
type Snapshot interface { // Save marshals (encodes) and saves a snapshot of the given object. Save(obj interface{}) error // Load loads a snapshot and marshals (decodes) into the given reference. // If no data is available to unmarshal into the given struct, the fuction returns nil. Load(output interface{}) error }
Snapshot provides means to save and load an object. This is not meant to be a generic k-v store.
Click to show internal directories.
Click to hide internal directories.