Versions in this module Expand all Collapse all v0 v0.1.0 Apr 5, 2017 Changes in this version + var ErrEmpty = errors.New("MultiStorage has no underlying stores") + var ErrUnexpectedMultipleAnswers = errors.New("MultiStorage: results returned were not the same") + type Loader func(short string, stores []storage.NamedStorage) (string, error) + type MultiStorage struct + func New(stores []storage.NamedStorage, opts ...MultiStorageOption) (*MultiStorage, error) + func Simple(stores ...storage.NamedStorage) (*MultiStorage, error) + func (s *MultiStorage) Load(short string) (string, error) + func (s *MultiStorage) SaveName(short string, long string) error + type MultiStorageOption func(*MultiStorage) error + func LoadCompareAllResults() MultiStorageOption + func LoadFirst() MultiStorageOption + func SaveOnlyOnce() MultiStorageOption + func SaveToAll() MultiStorageOption + type Saver func(short string, url string, stores []storage.NamedStorage) error