Documentation ¶ Index ¶ func NewSnapshot(dir, name string) (store.Snapshot, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewSnapshot ¶ func NewSnapshot(dir, name string) (store.Snapshot, error) NewSnapshot returns an instance of the snapshot service where data is stored in the directory given. This is a simple implementation that assumes a single file for the entire snapshot. Types ¶ This section is empty. Source Files ¶ View all Source files file.go Click to show internal directories. Click to hide internal directories.