package
0.0.0-20240528123408-96b4dbef904e
Repository: https://github.com/wurt83ow/tinyurl.git
Documentation: pkg.go.dev

# Functions

NewMemoryStorage creates a new MemoryStorage instance with the provided Keeper and logger.
NewMockKeeper creates a new instance of MockKeeper.

# Variables

ErrConflict indicates a data conflict in the store.

# Structs

MemoryStorage is an in-memory storage implementation with CRUD operations for URL and user data.
MockKeeper is an autogenerated mock type for the Keeper type.

# Interfaces

Keeper is an interface representing methods for loading, saving, and updating data in storage.
Log is an interface representing a logger with Info method.

# Type aliases

StorageURL represents a mapping of string keys to DataURL values.
StorageUser represents a mapping of string keys to DataUser values.