Versions in this module Expand all Collapse all v1 v1.0.2 Nov 18, 2021 Changes in this version + func NewMemoryStorage() *memoryStorage + func NewSeparatedMemoryStorage(filepath string) (*separatedMemoryStorage, error) + func RestoreMemoryStorage(decoder *gob.Decoder) (*memoryStorage, error) + type GobStorage interface + SetOutput func(*gob.Encoder) + type StorageAdapter interface + BuildIndex func() + Count func() int + Find func(string, ...string) (map[string]int, bool) + Remove func(string) + Search func(string, ...string) []string + Sync func() error + Update func(string, map[string]int)