Documentation ¶
Index ¶
- func NewMemoryStorage() *memoryStorage
- func NewSeparatedMemoryStorage(filepath string) (*separatedMemoryStorage, error)
- func NewSeparatedMemoryStorageFromBytes(b []byte) (*separatedMemoryStorage, error)
- func RestoreMemoryStorage(decoder *gob.Decoder) (*memoryStorage, error)
- type GobStorage
- type StorageAdapter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMemoryStorage ¶
func NewMemoryStorage() *memoryStorage
func RestoreMemoryStorage ¶
Types ¶
type GobStorage ¶
type GobStorage interface { StorageAdapter SetOutput(*gob.Encoder) }
Click to show internal directories.
Click to hide internal directories.